我们在安装linux系统的时候都没有关闭一个服务,导致登陆SSH时 输入完用户名后要等一会才能输入密码,经总结下面方案可解决此问题。

修改sshd_config以下两处,重启ssh即可。

# vi /etc/ssh/sshd_config
GSSAPIAuthentication no
UseDNS no

重启ssh

# systemctl restart sshd

以上能完美解决。

原文来自:https://renwole.com/archives/69

本文地址:https://www.linuxprobe.com/ssh-usedns-gssapiauthentication.html编辑:吴向平,审核员:逄增宝

本文原创地址:https://www.linuxprobe.com/ssh-usedns-gssapiauthentication.html编辑:xiangping wu,审核员:暂无