linux服务器设置密码登陆

vim /etc/ssh/sshd_config

PermitRootLogin prohibit-password注释掉

增加 PermitRootLogin yes

PermitEmptyPasswords no

PasswordAuthentication yes

service ssh restart

passwd

posted @ 2023-03-04 16:34  邵泽龙  阅读(23)  评论(0)    收藏  举报