您的位置:首页 > 其它

SSH登陆慢的问题

2016-07-03 23:32 447 查看
很多的Linux用户发现连接上Linux服务器在输入用户名之后还要再等一下才能输入密码,时间过长了,影响心情影响工作效率。

编辑sshd_config 这个文件:“vi /etc/ssh/sshd_config”;需要修改两个地方:

第一个地方:

[ceph@node3 ~]$ sudo grep GSSAPIAuthentication /etc/ssh/sshd_config
#GSSAPIAuthentication yes
GSSAPIAuthentication no
[ceph@node3 ~]$


将“GSSAPIAuthentication yes”修改为“GSSAPIAuthentication no”

第二个地方:

[ceph@node3 ~]$ sudo grep GSSAPIAuthentication /etc/ssh/sshd_config
#GSSAPIAuthentication yes
GSSAPIAuthentication no
[ceph@node3 ~]$ sudo grep UseDNS /etc/ssh/sshd_config
#UseDNS yes
UseDNS no
[ceph@node3 ~]$


将“UseDNS yes”修改为“UseDNS no”
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: