Connections suddenly closing

Ray Lehtiniemi rayl at otii.com
Fri Nov 16 05:30:54 EST 2001


On Thu, Nov 15, 2001 at 05:52:30PM +0000, Jim Breton wrote:

> Wish I had more info.. any suggestions?  Anyone else have ssh
> connections mysteriously die?

i occasionally see connections fail to establish, although they don;t seem to
die after that.  my server is OpenBSD 2.6, client is Redhat 7.2.  Both boxes
have the original versions of ssh installed as shipped.

my server runs a CVS repository, which is accessed via ssh.  a cron job on the
linux client does a cvs update every minute.  about 6-8 times per 24 hour period,
cron sends me this email:

  Connection closed by 192.168.2.1
  cvs [update aborted]: end of file from server (consult above messages if any)

on the server side, i usually get three lines in authlog.  when it fails, i
only get the first.

  Nov 15 02:29:01 server sshd[32358]: log: Connection from client.my.com port 46460
  Nov 15 02:29:01 server sshd[32358]: log: RSA authentication for user accepted.
  Nov 15 02:29:02 server sshd[32358]: log: Closing connection to 192.168.2.2

  Nov 15 02:30:02 server sshd[11839]: log: Connection from client.my.com port 46465

  Nov 15 02:31:01 server sshd[11977]: log: Connection from client.my.com port 46470
  Nov 15 02:31:02 server sshd[11977]: log: RSA authentication for user accepted.
  Nov 15 02:31:03 server sshd[11977]: log: Closing connection to 192.168.2.2


i have been assuming that my upcoming upgrade to OpenBSD 2.9/3.0 will solve
this problem.  however, i'd be happy to enable more logging and dig deeper
if it might provide useful info for someone.


cheers

-- 
---------------------------------------------------------------------------
    Ray Lehtiniemi <rayl at mail.com> <rayl at otii.com>



More information about the openssh-unix-dev mailing list