Hi ya'll- I'm having this weird problem with the new version of OpenSSH compiled on Solaris, version 4.3p2. SSH and SSHD work fine, all is well. But when I try to sftp or scp something I get this: % sftp bullitt Connecting to bullitt... command-line: line 0: Bad configuration option: PermitLocalCommand Connection closed % "PermitLocalCommand" doesn't appear in sshd_config or ssh_config, so I have no idea what's up... Has anyone seen this kind of thing before? Thanks for any insight, erich
On Thu, 6 Jul 2006, Erich Weiler wrote:> Hi ya'll- > > I'm having this weird problem with the new version of OpenSSH compiled > on Solaris, version 4.3p2. SSH and SSHD work fine, all is well. But > when I try to sftp or scp something I get this: > > % sftp bullitt > Connecting to bullitt... > command-line: line 0: Bad configuration option: PermitLocalCommand > Connection closedIt looks like you have your scp/sftp out of sync with your ssh binary. Perhaps OpenSSH scp/sftp are picking up Solaris' default ssh binary because it is first in your $PATH? -d
Sometime ago, Peter Stuge wrote:> On Thu, Jul 06, 2006 at 08:11:32PM -0700, Erich Weiler wrote: > > and still I get the same error when I try to sftp anywhere... > > Try running sftp under truss to see what is going on and perhaps get > an idea on how to fix it. > > > //Peter > _______________________________________________ > openssh-unix-dev mailing list > openssh-unix-dev at mindrot.org > http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev >Alternatively, simply doing an scp -v should show which ssh scp is actually using. -- Iain Morgan