ssh登录很慢的问题
vi /etc/ssh/sshd_config
修改UseDNS no
vi /etc/ssh/sshd_config
修改GSSAPIAuthentication yes
为no
综合命令为:
sed -i "s/#UseDNS yes/UseDNS no/g" /etc/ssh/sshd_config
sed -i "s/GSSAPIAuthentication yes/GSSAPIAuthentication no/g" /etc/ssh/sshd_config
echo -e '\033[1;31m 重启sshd服务 \033[0m'
systemctl restart sshd
systemctl status sshd
“The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time.” – Tom Cargill
标 题:ping正常但是ssh到linux服务器很卡的解决方法