ssh连接时出现如下问题:
1.密码错误(修改密码依旧登陆不了)
解决方法:
修改: #PasswordAuthentication yes 为: PasswordAuthentication yes
修改: PermitRootLogin prohibit-password 为: PermitRootLogin yes
vim /etc/ssh/sshd_config
PasswordAuthentication yes #no修改为yes
PermitRootLogin yes #prohibit-password修改为yes
接下来需要重新启动ssh
systemctl restart ssh
再一次连接就会成功了