ssh freezing under 1.3.86

Thomas Koenig (ig25@fg70.rz.uni-karlsruhe.de)
11 Apr 1996 19:27:27 +0200


Ever since I've upgraded to 1.3.86, I sometimes get spontaneous hangs
with ssh when I use it to connect to my Linux box.

Strace on sshd tells me, when I hit enter at the remote end:

select(10, [5 6 9], [], NULL, NULL) = 1 (in [5])
read(5, "\0\0\0\t\373\253\340\277u\275EKR"..., 16384) = 20
select(10, [5 6 9], [4], NULL, NULL) = 1 (out [4])
write(4, "\r", 1) = 1
select(10, [5 6 9], [], NULL, NULL

which is fine. However, stracing the bash at the other end tells me
it never receives the keystrokes; it hangs on a write:

# strace -p 1851
write(2, "\n", 1

The same version of ssh (1.2.13) never gave me problems with earlier
kernels. Ssh uses a pty for communicating.

Any ideas?