xshell连接虚拟机时,提示SSH服务器拒绝了密码
xshell连接虚拟机时,提示SSH服务器拒绝了密码报错如下截图查看sshd服务状态:systemctl status sshd 显示如下即为开启。sshd启动命令:/etc/init.d/sshd start修改 vim /etc/ssh/sshd_config#PermitRootLogin without passwd 改为 PermitRootLogin yes#StrictModes yes 改成 StrictModes yes重启ssh服务systemctl restart
原创
2020-12-08 14:41:11 ·
1732 阅读 ·
6 评论