解决方案:
root用户登录
vim /etc/ssh/sshd_config
注释掉 #PermitRootLogin without-password,添加 PermitRootLogin yes
翻页到最后查看 PasswordAuthentication是否为yes
PasswordAuthentication yes
重启服务:
sudo service ssh restart
解决方案:
root用户登录
vim /etc/ssh/sshd_config
注释掉 #PermitRootLogin without-password,添加 PermitRootLogin yes
翻页到最后查看 PasswordAuthentication是否为yes
PasswordAuthentication yes
重启服务:
sudo service ssh restart