Skip to main content

ssh 配置不生效

· One min read

ssh 配置禁止密码登录 PasswordAuthentication no 不生效

Include /etc/ssh/sshd_config.d/*.conf 这一行引入了其他配置,覆盖了主文件的配置, 找到里面的文件,然后修改配置即可