connection sometime hand on start.
Sébastien HEITZMANN
2le at 2le.net
Thu Feb 5 23:58:38 EST 2004
Hi,
I'm using a cygwin openssh 3.7.1p2, SSH protocols 1.5/2.0, OpenSSL
0.9.7c 30 Sep 2003
to connect to a sshd server : sshd version OpenSSH_3.4p1 Debian
1:3.4p1-1.woody.3
Sometime the connection hang. I've written a little batch script :
set USER=u12
echo "start" > log.txt
:begin
time /T
time /T >>log.txt
c:\kiwi\bin\ssh.exe -F ssh_config -i .\keys\id_rsa
%USER%@green.kiwi-backup.com ls /mnt/data1/%USER%/snapshot
goto begin
It work fine but sometime, the ssh ls hang for exactelly 2 hour. I think
that it's the tcp timeout of the socket.
I use this sort of connection in some automatic scripts and it's really
annoyoing.
Any idea ?
Sébastien HEITZMANN
More information about the openssh-unix-dev
mailing list