Re: SSH login takes very long time...sometimes

From: Sean Bryant <sean_at_cyberwang.net>
Date: Fri, 23 Dec 2005 14:22:21 -0500
James Tanis wrote:

>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
>_______________________________________________
>freebsd-current_at_freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-current
>To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>  
>
Try disabling sendmail. I don't remember exactly how I came up with this 
solution but I remember sendmail was the problem. This might work for 
you as well.
Received on Fri Dec 23 2005 - 18:22:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC