debian以root身份通过ssh登录操作系统

nano /etc/ssh/sshd_config

#PermitRootLogin prohibit-password

修改为

PermitRootLogin yes

重启ssh即可

service sshd restart  或 /etc/init.d/ssh restart

技术资料 2020-02-06 02:38:03 通过 网页 浏览(2360)

评论已关闭!