본문 바로가기

IT-Consultant

SSH Reverse DNS Lookup Disable


This isn’t the most interesting of posts, but a good “note to self” for future reference. If not disabled, SSHD will try to do a slow reverse lookup of the IP address of the client causing for an unnecessary delay during authentication. I often run into trouble with this when creating a new install of Linux or FreeBSD. Do the following to disable it:

In file /etc/ssh/sshd_config:

UseDNS no