如何在 Fedora CoreOS 上启用 SSH 密码认证
将此配置行添加到你的 Fedora CoreOS Ignition 配置中以在你的安装上启用 SSH 密码认证。
example-1.yaml
files:
- path: /etc/ssh/sshd_config.d/20-enable-passwords.conf
mode: 0644
contents:
inline: |
PasswordAuthentication yes默认情况下,Fedora CoreOS 只允许公钥认证并禁用密码认证。此 Ignition 配置将设置 PasswordAuthentication yes 作为 SSH 守护进程的配置选项。
原始来源:Fedora CoreOS 认证指南。
Check out similar posts by category:
CoreOS
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow