腾讯云主机ssh支持root登录的步骤

cd /etc/ssh
vi sshd_config

将#PermitRootLogin prohibit-password注释
添加PermitRootLogin yes

重启ssh服务

service ssh restart 
posted @ 2021-02-26 20:55  [喀秋莎]  阅读(262)  评论(0)    收藏  举报