网站制作学习网Linux→正文:禁止SSH空密码用户登录
字体:

禁止SSH空密码用户登录

Linux 2023/2/13 13:31:57  点击:不统计


 编辑文件/etc/ssh/sshd_config,将PermitEmptyPasswords配置为no: 源文件为注释 去掉前面的# 即可

PermitEmptyPasswords no 

·上一篇:linux用户组操作 >>    ·下一篇:使用非root账号登陆 >>
推荐文章
最新文章