解决xshell无法使用密码连接问题

1:修改/etc/ssh/sshd_config文件配置

2:PasswordAuthentication no 是否可以密码认证,修改成yes

3:重启 service sshd restart

4:使用xshell就可以连接上了

posted @ 2022-08-08 21:22  甜甜太阳雨  阅读(716)  评论(0编辑  收藏  举报