Re: openssh 4.7p1 Debian-4, OpenSSL 0.9.8g hangs after authentication
On 27/03/2008, Eike Lantzsch <firstname.lastname@example.org> wrote:
> Does somebody have a hint for me how to investigate this problem further:
> Openssh hangs from my workstation to any ssh-server including the workstation
> Using another client machine I can ssh into all machines allright, including
> the Fawlty [(c)John Cleese] one. One has also installed Debian testing with
> the very same version of openssh and openssl.
> myuser@myworkstation:~$ ssh -vv -4 -2 -l myuser 192.168.0.40
> debug2: service_accept: ssh-userauth
> debug1: SSH2_MSG_SERVICE_ACCEPT received
I'd run strace on it.
When I do
strace -f ssh -vv -4 -2 -l joostje muso.komputilo.org 2>strace.txt
then I see in strace.txt:
write(2, "debug2: service_accept: ssh-user"..., 38debug2:
) = 38
write(2, "debug1: SSH2_MSG_SERVICE_ACCEPT "..., 42debug1:
) = 42
write(2, "debug2: key: /home/joostje/.ssh/"..., 48debug2: key:
) = 48
write(2, "debug2: key: /home/joostje/.ssh/"..., 51debug2: key:
) = 51
write(3, "o\243\302\260\251\5\264\215o\'}3N\341\354\225\'\215\213"..., 64) = 64
select(4, , NULL, NULL, NULL) = 1 (in )
8192) = 64
write(2, "debug1: Authentications that can"..., 63debug1:
Authentications that can continue: publickey,password
) = 63
In other words, my ssh writes two more debug statements right after
the last debug statements you see, without any system calls in
So, basically, it seems like it is 'impossible' for ssh to hang just
at that point...
Would be interesting to see the strace output of your ssh.
After that it starts to write to fd 3, witch seems to be the
communication socket to the SSH server.
ii openssh-client 4.3p2-9 Secure shell
client, an rlogin/rsh/rcp replacement
ii openssh-server 4.3p2-9 Secure shell
server, an rshd replacement
ii openssl 0.9.8c-4etch1 Secure Socket
Layer (SSL) binary and related cryptographic tools