SSH连接时root用户无法验证通过

解决办法是:

vi /etc/ssh/sshd_config
找到
# Authentication:
PermitRootLogin without passwd
改成
# Authentication:
PermitRootLogin yes
然后重启SSH服务(/etc/init.d/ssh restart 或service ssh restart)即可
原文地址:https://www.cnblogs.com/medicinebl/p/8042320.html