经常需要通过终端 SSH 连接服务器进行维护,但今天发现连接登陆速度及其慢,之前没在意,今天实在受不了就修一修。
方法: 服务器上编辑这个文件
vim /etc/ssh/sshd_config
将 GSSAPIAuthentication yes 修改为 no ,就是这样 GSSAPIAuthentication no 。 然后重启 ssh 服务 service sshd restart
GSSAPIAuthentication yes
no
GSSAPIAuthentication no
service sshd restart