Extremely slow authentication via SSH on FreeBSD 6.0

Ashley Moran work at ashleymoran.me.uk
Mon Jan 9 02:36:31 PST 2006


On Monday 09 January 2006 08:18, Garrett Cooper wrote:
>         I should be more specific. Setting UseDNS to no did the trick.
> Maybe   sshd was confused by my hostname setup in /etc/hosts, but I'm not
> going to speculate there. All that I know is that it works like it used to
> =).
> -Garrett


I've had this problem before.  You can keep DNS turned on if /etc/resolv.conf 
contains reachable nameservers.  The DNS lookup timeout in sshd is very long

Ashley


More information about the freebsd-questions mailing list