From owner-freebsd-questions Fri Mar 1 11:54:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe45.law8.hotmail.com [216.33.240.17]) by hub.freebsd.org (Postfix) with ESMTP id 2E47337B405 for ; Fri, 1 Mar 2002 11:54:26 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 1 Mar 2002 11:54:26 -0800 X-Originating-IP: [68.60.230.69] From: "John Hines" To: "Matiss Elsbergs" , References: <002601c1c0ef$1cb5d580$9653949f@weird> Subject: ssh problems Date: Fri, 1 Mar 2002 14:54:45 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: X-OriginalArrivalTime: 01 Mar 2002 19:54:26.0117 (UTC) FILETIME=[E4195F50:01C1C15A] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have my local machines listed in the /etc/hosts file of my internal caching only DNS server. My internal DNS works wonderfully and I don't believe it has anything to do with my problem. It takes roughly three minuets to be prompted for a username, another two minuets or so to be prompted for a password, and another couple of minuets to log into the machine after entering the password. I'd say it takes a total of nearly six minuets to log onto the machine from my local network. Has anyone seen symptoms of this before? The weird thing as I stated before is that immediately after a reboot I have no problems ssh'ing to the box. Today I also found the following in my /var/log/messages: Feb 28 15:46:40 blue sshd[11039]: fatal: Read from socket failed: Connection res et by peer I almost think something is wrong with the sshd daemon. Thanks for the response, John Hines ----- Original Message ----- From: "Matiss Elsbergs" To: "John Hines" Cc: Sent: Friday, March 01, 2002 2:02 AM Subject: Re: ssh problems > Looks like some name-resolving problems. > > Had something similar in my network and solved it by adding a in-addr.arpa > records for each IP adress on local nameserver and changing w98/2000 DNS > configuration to query that local one. I don't really know if it's related > but it's worth a try ;-) > > Replying to this thread is highly welcome, because I am curious too, what > might be wrong ( experienced such thing not once ). > > Best Regards, > Matiss Elsbergs > Astranet IS > Senior Systems Administrator (or something like that) > > > ----- Original Message ----- > From: John Hines > To: freebsd-questions@FreeBSD.ORG > Sent: Friday, March 01, 2002 12:28 AM > Subject: ssh problems > > > 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 > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message