IT博客汇
首页
精华
技术
设计
资讯
扯淡
权利声明
登录
注册
ssh的PasswordAuthentication不生效的问题(by quqi99)
quqi99
发表于
2023-09-04 21:05:29
love
0
想禁用ssh的密码登录时,都是设置PasswordAuthentication no, 用了这么多年,从来没有怀疑过,但今天就遇到了这个问题居然不生效。再后来将PasswordAuthentication no移到了/etc/ssh/sshd_config文件的最开头,居然就work了。后来设置了ChallengeResponseAuthentication no还是不生效。