打開SSH的配置檔案
vi /etc/ssh/sshd_config
2.把#UseDNS=yes修改為UseDNS=no
3.重新開機ssh
systemctl restart sshd.service (CentOS 7使用此指令)
service sshd restart (CentOS 7 之前的版本使用這個指令重新開機sshd服務)
本文轉自 技術花妞妞 51CTO部落格,原文連結:http://blog.51cto.com/xiaogongju/1943105
打開SSH的配置檔案
vi /etc/ssh/sshd_config
2.把#UseDNS=yes修改為UseDNS=no
3.重新開機ssh
systemctl restart sshd.service (CentOS 7使用此指令)
service sshd restart (CentOS 7 之前的版本使用這個指令重新開機sshd服務)
本文轉自 技術花妞妞 51CTO部落格,原文連結:http://blog.51cto.com/xiaogongju/1943105