Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2006 12:53:59 -0500 (CDT)
From:      Philip Hallstrom <freebsd@philip.pjkh.com>
To:        Noah <admin2@enabled.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: sshd stalling upon login
Message-ID:  <20061004125340.R97219@bravo.pjkh.com>
In-Reply-To: <4523E73E.7090104@enabled.com>
References:  <4523E73E.7090104@enabled.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
> I just built some new FreeBSD servers, and I am trying to log into one of 
> them via sshd.  I am finding that the is  a lag between the connection and 
> receiving a prompt.  most likely this is because the IP address I am coming 
> from does not resolve.  But I am able to log into
> other servers via sshd from the same host that does not have IP inverse 
> resolution.
>
> So I copied the /etc/ssh/sshd_config and /etc/resolv.conf from the host that 
> does not stall me to the server that was stalling.  that did not clear up the 
> Problem.
>
> what other configuration files need to be augmented to get rid of this stall? 
> clues please?

In /etc/ssh/sshd_config add:

UseDNS no

Then restart sshd.

-philip




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20061004125340.R97219>