Centos7禁用密码登录方法:
编辑/etc/ssh/sshd_config
将PasswordAuthentication参数值修改为no: PasswordAuthentication no
重启ssh服务:systemctl restart sshd.service
Centos7禁用密码登录方法
于 2021-03-26 13:03:33 首次发布
Centos7禁用密码登录方法:
编辑/etc/ssh/sshd_config
将PasswordAuthentication参数值修改为no: PasswordAuthentication no
重启ssh服务:systemctl restart sshd.service