vim /etc/ssh/sshd_config
#UseDNS yes
改为
UseDNS no
重启sshd
service sshd restart
转载于:https://www.cnblogs.com/L1-5551/p/11564545.html
本文介绍如何通过修改sshd_config文件中的UseDNS参数,从yes更改为no,来禁用SSH服务的DNS查找,从而提升SSH连接速度。操作完成后,需重启sshd服务使配置生效。
vim /etc/ssh/sshd_config
#UseDNS yes
改为
UseDNS no
重启sshd
service sshd restart
转载于:https://www.cnblogs.com/L1-5551/p/11564545.html

被折叠的 条评论
为什么被折叠?