Re: Linux ssh Logon error prompt

  • From: "Radoulov, Dimitre" <cichomitiko@xxxxxxxxx>
  • To: Ndidi Ibeachum <chinedui@xxxxxxxxxx>
  • Date: Fri, 20 Dec 2013 15:46:55 +0100

On 20/12/2013 15:15, Ndidi Ibeachum wrote:
[...]

ssh -vvv rac2
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
[...]
Last login: Fri Dec 20 14:58:05 2013 from rac1.localdomain
-bash: [/bin/bash: No such file or directory
[...]

Thanks again!
If there is really no Chroot directives in sshd_config (notice: sshd_config, no ssh_config),
it seems like a broken glibc configuration :)

Next steps:

Open two terminal sessions - one on rac1, the other on rac2.

On rac2:

strace -fp $(pgrep -f /usr/sbin/sshd) -o /tmp/my_trace_file.txt

It will hang waiting.

On rac1:

ssh rac2

Go back to rac2 and send us the content of /tmp/my_trace_file.txt (it could be quite verbose). You can limit it with strace -fp $(pgrep -f /usr/sbin/sshd) -eopen, but the entire output may be more usefull.


Regards
Dimitre



Other related posts: