Skip to content

ssh 禁用 Root 登录

标签
开源/软件/ssh
命令行/ssh
运维
计算机/信息技术/安全
计算机/信息技术/安全/网络安全
计算机/信息技术/安全/操作系统安全
字数
30 字
阅读时间
1 分钟

前往 /etc/ssh/sshd_config 文件,搜索 PermitRootLogin,将 yes 改为 no

txt
PermitRootLogin no

贡献者

页面历史

撰写