SSH登录缓慢 发表于 2018-03-28 更新于 2023-08-09 分类于 linux 在局域网通过SSH登录Ubuntu服务器,发现很慢,10秒左右,修改SSH配置解决: 12345$ sudo vim /etc/ssh/ssh_config#GSSAPIAuthentication yesGSSAPIAuthentication no$ systemctl restart sshd GSSAPI ( Generic Security Services Application Programming Interface) 是一套类似Kerberos 5 的通用网络安全系统接口。该接口是对各种不同的客户端服务器安全机制的封装,以消除安全接口的不同,降低编程难度。但该接口在目标机器无域名解析时会有问题。