SSH login takes very long time...sometimes
Marian Hettwer
MH at kernel32.de
Sun Dec 25 04:46:54 PST 2005
Lowell Gilbert wrote:
> Marian Hettwer <MH at kernel32.de> writes:
>>
>>alternativly to check out wether it's dns related, you use set the
>>Option "UseDNS no" in your sshd_config, so sshd won't try a reverse
>>dns lookup.
>>Give it a shoot. Usually ssh timeouts are related to DNS...
>
>
> That should be a last resort; the hostname checks are there for a
> reason...
>
I know. But using the UseDNS no option could be useful to debug the
problem. Well. In fact, it's only one way to debug the problem.
The more obvious way is to check wether the DNS is working (forward and
reverse lookup) and fix it if possible :)
regards,
Marian
More information about the freebsd-stable
mailing list