ssh的PasswordAuthentication不生效的问题(by quqi99)
想禁用ssh的密码登录时,都是设置PasswordAuthentication no, 用了这么多年,从来没有怀疑过,但今天就遇到了这个问题居然不生效。再后来将PasswordAuthentication no移到了/etc/ssh/sshd_config文件的最开头,居然就work了。后来设置了ChallengeResponseAuthentication no还是不生效。
原创
2023-09-04 21:05:29 ·
969 阅读 ·
3 评论