How to enable SSH password authentication on Fedora CoreOS

Deutsch English

Add this config line to your Fedora CoreOS Ignitionconfig in order to enable SSH password authentication on your install.

example-1.yaml
  files:
    - path: /etc/ssh/sshd_config.d/20-enable-passwords.conf
      mode: 0644
      contents:
        inline: |
          PasswordAuthentication yes

By default, Fedora CoreOS will only allow pubkey authentication and disable password authentication. This Ignition config will set PasswordAuthentication yes as a config option for the SSH daemon.

Original source: The Fedore CoreOS authentication guide.


Check out similar posts by category: CoreOS