Admin Life Errors, Fixes, and Encounters


freebsd sshd authentication slow

With Freebsd, the DNS lookup timeout in sshd is very long.
If for whatever reason your DNS servers are slow, SSHing into FreeBSD will also be slow.

Quick fix is to change /etc/resolve.conf and add's nameservers

# vi etc/resolve.conf


After the change, ssh authentication was faster for me.

You can also try to restart sshd

# cd /etc/rc.d
# ./sshd restart

Which may help...

Comments (0) Trackbacks (0)
  1. Hi Tyron,I would confirm the navseermer entries you are using. Can you ping them? What happens when you try using navseermer in your /etc/resolv.conf? That is Google’s public dns service, freely available.

Trackbacks are disabled.