I have a problem with ssh2.
I have compiled and installed ssh 2.0.13 in two linux boxes, one using libc5 and other
using libc6.
Then I try:
ssh localhost cat someshortfile | wc -c
It works fine, as expected.
But:
ssh localhost cat someLARGEfile | wc -c
Does not work, it simply hangs, process is executing:
oldselect(4, [0 3], [], NULL, {0, 0}) = 0 (Timeout)
gettimeofday({950011018, 111163}, NULL) = 0
gettimeofday({950011018, 111233}, NULL) = 0
oldselect(4, [0 3], [], NULL, NULL ....................
Server is executing a sshd son that does:
[pid 17005] gettimeofday({950011132, 222704}, NULL) = 0
[pid 17005] oldselect(11, [3 5 10], [], NULL, {0, 0}) = 1 (in [5], left {0, 0})
[pid 17005] read(5, "\300\201/lo\252\2\250", 8) = 8
[pid 17005] read(5, "w\247\311wH\222\263\271\2w\4\317"..., 32) = 32
[pid 17005] gettimeofday({950011132, 223289}, NULL) = 0
[pid 17005] read(5, 0x80e5e20, 8) = -1 EAGAIN (Try again)
[pid 17005] gettimeofday({950011132, 223466}, NULL) = 0
[pid 17005] gettimeofday({950011132, 223600}, NULL) = 0
[pid 17005] oldselect(11, [3 5 10], [], NULL, NULL .................