学堂 学堂 学堂公众号手机端

root xshell登陆Ubuntu

lewis 1年前 (2024-03-31) 阅读数 9 #技术

​​/news/upload/ueditor/image/202209/op4lndv0psz /etc/ssh/sshd_config 文件把PermitRootLogin Prohibit-password 添加#注释掉

新添加:PermitRootLogin yes

重启ssh服务 /etc/init.d/ssh restart


重新使用root连接,ok!



版权声明

本文仅代表作者观点,不代表博信信息网立场。

热门