Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2005 14:53:36 +0100
From:      Marian Hettwer <MH@kernel32.de>
To:        Kobi Shmueli <kobi@macron.co.il>
Cc:        stable@freebsd.org, "Michael A. Koerber" <mak@ll.mit.edu>, current@freebsd.org
Subject:   Re: SSH login takes very long time...sometimes
Message-ID:  <43AC0160.4070108@kernel32.de>
In-Reply-To: <001301c607c4$e04e2540$80cea8c0@home1>
References:  <43ABF6E4.2090908@ll.mit.edu> <001301c607c4$e04e2540$80cea8c0@home1>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43AC0160.4070108>