Date: 23 Dec 2005 09:30:56 -0500 From: Lowell Gilbert <freebsd-stable-local@be-well.ilk.org> To: Marian Hettwer <MH@kernel32.de> Cc: stable@freebsd.org, "Michael A. Koerber" <mak@ll.mit.edu> Subject: Re: SSH login takes very long time...sometimes Message-ID: <44irtf3mxr.fsf@be-well.ilk.org> In-Reply-To: <43AC0160.4070108@kernel32.de> References: <43ABF6E4.2090908@ll.mit.edu> <001301c607c4$e04e2540$80cea8c0@home1> <43AC0160.4070108@kernel32.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Marian Hettwer <MH@kernel32.de> writes: > 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... That should be a last resort; the hostname checks are there for a reason...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44irtf3mxr.fsf>