SSH服务器拒绝了密码

1安装
yum -y install openssh openssh-clients openssh-server openssh-askpass
2修改 vim /etc/ssh/sshd_config

PermitRootLogin yes
StrictModes yes
UsePAM yes

3重启ssh
systemctl restart sshd

posted @ 2022-03-25 12:39  linuxTang  阅读(139)  评论(0编辑  收藏  举报