Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Feb 2002 17:28:56 -0500
From:      "John Hines" <bigjohn_101@hotmail.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   ssh problems
Message-ID:  <OE69HNFOyhJJ0QVN4MN0000af18@hotmail.com>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello,

  I've been experiencing severe latency when ssh'ing to my FreeBSD box.  When I attempt to ssh from my Win98 box via Putty or from another FreeBSD or OpenBSD box I usually have to wait a couple of minuets (if I'm lucky) to connect.  Often I can not connect at all.  When I'm finally log into the FreeBSD box everything looks ok.  The sshd daemon is running and the only traces of a problem are found in my /var/log/messages.  Here's what I see in the messages file:

Feb 28 15:46:40 blue sshd[11039]: fatal: Read from socket failed: Connection reset by peer
Feb 28 16:59:45 blue sshd[11123]: fatal: Timeout before authentication for 192.168.1.9.

Feb 28 17:07:02 blue sshd[11145]: fatal: Timeout before authentication for 192.168.1.9.

Sometimes I don't see these errors as well.  Currently I'm running FreeBSD 4.5, but I had the same problem before when I was running FreeBSD 4.4.  The weird thing is that a reboot seems to take care of the problem, but as soon as the uptime reaches a couple of days I run into the same problem of not being able to ssh to the box.

This is the version of ssh:
OpenSSH_2.9 FreeBSD localisations 20011202, SSH protocols 1.5/2.0, OpenSSL 0x0090601f

Has anyone experienced this problem?  Any help would be greatly appreciated.

Thanks in advance,

John Hines



[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; I've been experiencing severe latency when 
ssh'ing to my FreeBSD box.&nbsp; When I attempt to ssh from my Win98 box via 
Putty or from&nbsp;another FreeBSD or OpenBSD box I usually have to wait a 
couple of minuets (if I'm lucky) to connect.&nbsp;&nbsp;Often I can 
not&nbsp;connect at all.&nbsp; When I'm finally&nbsp;log into the FreeBSD box 
everything looks ok.&nbsp;&nbsp;The sshd daemon is running and the only traces 
of a problem are found in my /var/log/messages.&nbsp; Here's&nbsp;what I see in 
the&nbsp;messages file:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Feb 28 15:46:40 blue sshd[11039]: fatal: Read from 
socket failed: Connection reset by peer<BR>Feb 28 16:59:45 blue sshd[11123]: 
fatal: Timeout before authentication for 192.168.1.9.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Feb 28 17:07:02 blue sshd[11145]: fatal: Timeout 
before authentication for 192.168.1.9.<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Sometimes I don't see these errors as well.&nbsp; 
</FONT><FONT face=Arial size=2>Currently I'm running FreeBSD 4.5, but I had the 
same problem before when I was running FreeBSD 4.4.&nbsp; The weird thing is 
that a reboot seems to take care of the problem, but as soon as the uptime 
reaches a couple of days I run into the same problem of not being able to ssh to 
the box.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is the version of ssh:<BR>OpenSSH_2.9 FreeBSD 
localisations 20011202, SSH protocols 1.5/2.0, OpenSSL 
0x0090601f<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Has anyone experienced this problem?&nbsp; Any help 
would be greatly appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>John Hines</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE69HNFOyhJJ0QVN4MN0000af18>