From owner-freebsd-questions Fri Mar 1 14: 5:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe57.law8.hotmail.com [216.33.240.192]) by hub.freebsd.org (Postfix) with ESMTP id 0C40037B41C for ; Fri, 1 Mar 2002 14:04:51 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 1 Mar 2002 14:04:47 -0800 X-Originating-IP: [68.60.230.69] From: "John Hines" To: "Bara Zani" , , References: <002601c1c0ef$1cb5d580$9653949f@weird> <008001c1c15c$420413c0$fd6e34c6@moti> Subject: Re: ssh problems Date: Fri, 1 Mar 2002 17:04:33 -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 22:04:47.0765 (UTC) FILETIME=[1A2A2450:01C1C16D] 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 Thanks for the help. I was able to ssh to the localhost with out a problem. I then figured out the problem was a typo in my /etc/hosts file on my internal DNS server. Matiss Elsbergs was right about my problem. I should have checked for typos a couple of days ago!! Thanks for the help all, John Hines ----- Original Message ----- From: "Bara Zani" To: "John Hines" Sent: Friday, March 01, 2002 3:04 PM Subject: Re: ssh problems > if you run ssh localhost from the same box do you expirience the same > problems ? > is this only an internal network problem ? > > ----- Original Message ----- > From: "John Hines" > To: "Matiss Elsbergs" ; > Sent: Friday, March 01, 2002 2:54 PM > Subject: ssh problems > > > > 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 > > > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message