Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2002 14:54:45 -0500
From:      "John Hines" <bigjohn_101@hotmail.com>
To:        "Matiss Elsbergs" <matiss@bkc.lv>, <FreeBSD-questions@FreeBSD.org>
Subject:    ssh problems
Message-ID:  <OE45xO6o88S3Ifs4La40000d712@hotmail.com>
References:  <OE69HNFOyhJJ0QVN4MN0000af18@hotmail.com> <002601c1c0ef$1cb5d580$9653949f@weird>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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