SSH login takes very long time...sometimes
sean at cyberwang.net
Fri Dec 23 11:22:50 PST 2005
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:
>> 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
>>freebsd-stable at freebsd.org mailing list
>>To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>jtanis at pycoder.org
>freebsd-current at freebsd.org mailing list
>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.
More information about the freebsd-current