禁用ssh dns
How to disable the reverse DNS lookup by the SSD server on Linux?
如何通过Linux上的SSD服务器禁用反向DNS查找?
To turn off reverse DNS lookups of the SSH daemon, log on the server and add
要关闭SSH守护进程的反向DNS查找,请登录服务器并添加
UseDNS no
to /etc/ssh/sshd_config
.
到/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.
并请记住通过service sshd restart
或systemctl restart sshd.service
或其他命令(取决于您的系统)来重新启动sshd服务。
Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。
翻译自: https://www.systutorials.com/how-to-disable-ssh-reverse-dns-lookup-on-linux/
禁用ssh dns