[Bug] PasswordAuthentication no 在一些vps上可能失效
Closed this issue · 2 comments
qwenode commented
Contact Information
No response
1Panel Version
all
Problem Description
有些vps会在 /etc/ssh/sshd_config.d/ 下写入配置
然后
如果配置是
Include /etc/ssh/sshd_config.d/*.conf
PasswordAuthentication no #这行在include之后,则会无效
如果
PasswordAuthentication no #则有效
Include /etc/ssh/sshd_config.d/*.conf
可能需要增加对/etc/ssh/sshd_config.d/ 下的配置检测
Steps to Reproduce
如上
The expected correct result
No response
Related log output
No response
Additional Information
No response
wanghe-fit2cloud commented
感谢反馈,目前版本确实未同步 /etc/ssh/sshd_config.d/*.conf
目录下的配置,我们会在后续版本中考虑支持。
wanghe-fit2cloud commented
重复问题 #4011