配置SSH密码登录

1.编辑配置文件

vim /etc/ssh/sshd_config

2.编辑以下内容

RSAAuthentication no
PubkeyAuthentication no
PasswordAuthentication yes

3.执行重启ssh

service sshd restart
posted @ 2018-09-15 10:03  忧臣解读  阅读(1449)  评论(0)    收藏  举报