SSH login takes very long time...sometimes

Joao Barros joao.barros at gmail.com
Fri Dec 23 05:21:53 PST 2005


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?
>

Most probably it's a reverse dns issue.
You can either check your dns/hosts setup or tcpdump the traffic when
you try to login a machine.

--
Joao Barros


More information about the freebsd-stable mailing list