sudo vim /etc/ssh/sshd_config
将 # Authentication:
LoginGraceTime 120
PermitRootLogin prohibit-password 改为 yes
重启SSH服务 service ssh restart
Xshell连接虚拟机突然被拒,提示再次输入密码。。。
原文:https://www.cnblogs.com/tangpg/p/9166822.html