SSH login takes very long time...sometimes

James Tanis jtanis at pycoder.org
Fri Dec 23 09:46:01 PST 2005


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 at 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 minute 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 occasion 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


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


More information about the freebsd-stable mailing list