Sunday, November 11, 2012

Disable SSH Reverse DNS Lookup

If not disabled, SSH server will try to do a slow reverse lookup of the IP address of the client causing for an unnecessary delay during authentication. I often have this case after installing Linux.

To disable it, in the file /etc/ssh/sshd_config add the line below:
UseDNS no

No comments:

Post a Comment