Jonathan Chen wrote:
> On Tue, Dec 29, 2009 at 07:04:24PM +0100, n dhert wrote:
>> On a newly installed FreeBSD7.2, when booting it takes a long time to get
>> past "Starting sshd.".
>> I'm using the PC only in a private network. The IP of the PC is 192.168.75.8
>> # ssh [email protected]
>> or  # ssh [email protected]
>> take both 15 seconds to display
>> Password: ...
>> At setup, I did specify a hostname, a domainname, a default_router
>> (192.168.75.14) and
>> DNS server 192.168.254.100 (in the future to be replace by non-private IPs),
>>
>> but since I am testing only in a private network and only with IP adresses
>> (no hostnames)
>> these are not used.
>> So what is causing that delay at Start of sshd and use of ssh?
> 
> Reverse DNS lookup. Make sure you have PTR entries for all IPs in use.

Or, in the case of an internal-only IP scheme, where configuring rDNS
entries is not possible/not feasible, you can disable DNS lookups in the
/etc/ssh/sshd_config file by uncommenting and setting:

UseDNS no

Restart the sshd daemon for the change to take effect.

Steve

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to