How to disable SSH reverse DNS lookup on Linux?

How to disable the reverse DNS lookup by the SSD server on Linux?

asked Apr 11, 2015 by Eric Z Ma (44,280 points)

1 Answer

Best answer

To turn off reverse DNS lookups of the SSH daemon, log on the server and add

UseDNS no

to /etc/ssh/sshd_config.

And remember to restart the sshd service by service sshd restart or systemctl restart sshd.service or other commands depending on your system.

answered Apr 11, 2015 by Eric Z Ma (44,280 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost