Date: Fri, 1 Mar 2002 17:04:33 -0500 From: "John Hines" <bigjohn_101@hotmail.com> To: "Bara Zani" <bara_zani@yahoo.com>, <matiss@bkc.lv>, <questions@freebsd.org> Subject: Re: ssh problems Message-ID: <OE57kwLd8Lq7R3TOkIt00001494@hotmail.com> References: <OE69HNFOyhJJ0QVN4MN0000af18@hotmail.com> <002601c1c0ef$1cb5d580$9653949f@weird> <OE45xO6o88S3Ifs4La40000d712@hotmail.com> <008001c1c15c$420413c0$fd6e34c6@moti>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <bara_zani@yahoo.com> To: "John Hines" <bigjohn_101@hotmail.com> 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" <bigjohn_101@hotmail.com> > To: "Matiss Elsbergs" <matiss@bkc.lv>; <FreeBSD-questions@FreeBSD.org> > 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" <matiss@bkc.lv> > > To: "John Hines" <bigjohn_101@hotmail.com> > > Cc: <freebsd-questions@freebsd.org> > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OE57kwLd8Lq7R3TOkIt00001494>