Problems using sftp on HMC IBM system
Eduardo Otubo
otubo at linux.vnet.ibm.com
Wed Sep 23 01:23:02 EST 2009
Ben Lindstrom wrote:
>
> A more useful thing to do is:
>
> $ ssh hscroot at skiper /bin/true ## Use where your true bin is located,
> on some it is /usr/bin/true
>
> If you see any output other than the "Banner" output (if you use one,
> which it doesn't look like it). You need to fix your shell to not
> output data on non-interactive shell connections.
>
> - Ben
I think we're dealing with a very restricted shell, look what I got:
otubo at phoenix ~ $ ssh hscroot at skiper /bin/true
Password:
/bin/bash: /bin/true: restricted: cannot specify `/' in command names
otubo at phoenix ~ $ ssh hscroot at skiper true
Password:
otubo at phoenix ~ $
otubo at phoenix ~ $ ssh hscroot at skiper
Password:
Last login: Tue Sep 22 12:02:00 2009 from 9.18.200.68
hscroot at hmc:~>
hscroot at hmc:~> which true
which: no true in (/hmcrbin/:/usr/hmcrbin)
Any ideias?
[]'s
--
Eduardo Otubo
Software Engineer
Linux Technology Center
IBM Systems & Technology Group
Mobile: +55 19 8135 0885
eotubo at linux.vnet.ibm.com
More information about the openssh-unix-dev
mailing list