Connections suddenly closing
Jim Breton
vader at conflict.net
Fri Nov 16 04:52:30 EST 2001
Hi, I have been having a problem with OpenSSH which afaict has _never_
happened prior to upgrading to 3.0. (I always run the current release,
so I'd been on 2.9.9[p2] prior to 3.0.)
At a seemingly random time, I will lose my connection to the remote
host, for example:
Read from remote host crate.alongtheway.com: Connection reset by peer
Granted, I am not sure that that was the error _every_ time because
prior to noticing this trend I had been using xterms with "-e ssh"
options so the xterm would close before I got to see the error. But a
couple days ago I turned off that switch so I could see what was
happening, and today it finally happened again and gave me the above
error.
Note that I searched for anything similar in the archives of this list
and found the following results:
http://marc.theaimsgroup.com/?l=openssh-unix-dev&w=2&r=1&s=Connection+reset+by+peer&q=b
However none of those seems to apply here, as in at least one case, the
connection to the remote host was _not idle._ A couple example cases:
1) Had two connections open to a FreeBSD machine at a remote location;
one was an idle shell, the other was actively running the 'tin'
newsreader. All of a sudden the connection running the tin session
dumped on me, meanwhile the other connection remained open and fine.
2) A connection I had open to an OpenBSD 2.9 system on my home network
(through an internal firewall doing NAT) suddenly dropped also, it was
idle overnight, probably for around 6 or 7 hours.
3) The connection drop that occurred today was to yet another FreeBSD
system, and had only been idle for around an hour.
Constants with every case:
1) Client system is Linux (debian potato) running OpenSSH 3.0p1.
2) Server system is OpenSSH 3.0 (p1 in the FreeBSD case).
3) Connection is NATted.
Wish I had more info.. any suggestions? Anyone else have ssh
connections mysteriously die?
--
Jim B.
vader at conflict.net
More information about the openssh-unix-dev
mailing list