[CentOS7]解决SSH登录慢的问题

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
sed -i '/UseDNS/cUseDNS no' /etc/ssh/sshd_config
sed -i 's/GSSAPIAuthentication yes/GSSAPIAuthentication no/' /etc/ssh/sshd_config
systemctl restart sshd

END

原文地址:https://www.cnblogs.com/leoshi/p/13437516.html