Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2005 12:45:58 -0500
From:      James Tanis <jtanis@pycoder.org>
To:        "Michael A. Koerber" <mak@ll.mit.edu>
Cc:        stable@freebsd.org, current@freebsd.org
Subject:   Re: SSH login takes very long time...sometimes
Message-ID:  <65dcde740512230945j11b1e3f9ied13a8129f568091@mail.gmail.com>
In-Reply-To: <43ABF6E4.2090908@ll.mit.edu>
References:  <43ABF6E4.2090908@ll.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
For whatever reason, I have had a similar problem which was solved by
entering the machines that you are logging in from into the hosts
file. I'm guessing it attempts a reverse lookup and your (as well as
my) dns/hostname does not match its reverse lookup entry.

On 12/23/05, Michael A. Koerber <mak@ll.mit.edu> wrote:
> All,
>
>   I have three machines that have had 5.4 and 6.0 installed.  Two of the =
three machines have very
> well behaved "ssh".  However, the machine (laptop) named OBOE does not.
>
>   Specifically "ssh oboe" will (most of the time) hang for around one min=
ute before asking for a
> prompt.  However, if I'm logged into OBOE and "ssh BSD" (one of the other=
 machines) a password is
> requested within a couple seconds.  (I said most of the time, since on oc=
casion I can reboot OBOE
> and ssh will work just fine...hmmm.)
>
>   I have looked through the /var/log files for clues and skimmed "man ssh=
" for time out related
> stuff, but no luck.
>
>   Where should I start looking for clues?
>
>   All machines have had clean installs from "newfs'd" drive under both 5.=
4 and 6.0 so I'm sure no
> left over configs are getting propagated.
> --
> ---------------------
> Dr Michael A. Koerber
> x3250
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>


--
James Tanis
jtanis@pycoder.org
http://pycoder.org



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