Board logo

标题: ssh登录慢的解决办法 [打印本页]

作者: linda    时间: 2026-11-9 11:03     标题: ssh登录慢的解决办法

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

GSSAPIAuthentication no
UseDNS no

重启sshd

# Ubuntu / Debian
systemctl restart ssh

# CentOS / RHEL
systemctl restart sshd

老版本
service ssh restart




欢迎光临 中神通公司技术论坛 (http://trustcomputing.com.cn/bbs/) Powered by Discuz! 6.0.0