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

From: Marian Hettwer <MH_at_kernel32.de>
Date: Fri, 23 Dec 2005 14:53:36 +0100
Hej there,

Kobi Shmueli wrote:
> 
> 
> Try checking /etc/resolv.conf on oboe first, adding a static entry to
> /etc/hosts of the remote ip/host should speed dns checks as well.
> You can also run ssh in verbose mode (ssh -v oboe) or/and run sshd in debug
> mode (sshd -d).
>
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...

HTH,
Marian
Received on Fri Dec 23 2005 - 12:54:08 UTC

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