发新话题
打印

ssh登录慢的解决办法

ssh登录慢的解决办法

在文件/etc/ssh/sshd_config末尾添加

GSSAPIAuthentication no
UseDNS no

重启sshd

# Ubuntu / Debian
systemctl restart ssh

# CentOS / RHEL
systemctl restart sshd

老版本
service ssh restart

TOP

发新话题