ssh登陆慢的问题

识别主机名时卡一下,关掉DNS选项:

root@ns-virtual-machine:~# grep -i dns /etc/ssh/sshd_config
UseDNS no

 如果还有问题,打开verbose模式查看原因。之前还遇到过下面的情况:

debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available

关掉gss相关的选项:

[root@VM000000518 ~]# grep -i gss /etc/ssh/sshd_config |grep -v \#
GSSAPIAuthentication no
GSSAPICleanupCredentials no 

 

posted on 2017-02-28 16:54  Digital_life  阅读(204)  评论(0编辑  收藏  举报

导航