Linux SSH禁用密码登录

发布时间: 更新时间: 总字数:80 阅读时间:1m 作者: IP上海 分享 网址

Linux SSH禁用密码登录

步骤

编辑/etc/ssh/sshd_config,将PasswordAuthentication参数值修改为no

PasswordAuthentication no

重启ssh服务:

systemctl restart sshd.service
Home Archives Categories Tags Statistics
本文总阅读量 次 本站总访问量 次 本站总访客数