Centos7系统如何禁止空密码登录
发布时间:2022-11-24 14:29:41 来源: 纵横云
Centos7系统如何禁止空密码登录
在centos7中如何禁止空密码登录呢?本文给出详细说明。
1.打开sshd配置文件
vi /etc/ssh/sshd_config

2.找到PermitEmptyPasswords 确保设置为no

3.保存后重启sshd服务
service sshd restart
本文来源:
https://www.zonghengcloud.com/article/8453.html
[复制链接]
链接已复制