diff --git a/files/os/ssh/sshd_config.d/bluefin-server.conf b/files/os/ssh/sshd_config.d/bluefin-server.conf index a06b12dc..4994e4a9 100644 --- a/files/os/ssh/sshd_config.d/bluefin-server.conf +++ b/files/os/ssh/sshd_config.d/bluefin-server.conf @@ -1,7 +1,11 @@ # SSH configuration for Bluefin Server. -# Bring-up diagnostics: permit root login with password and pubkey. +# Hardened defaults: no direct root password login, no password auth at all. +# Bring-up diagnostics stay available on the local console (root / bluefin, +# see the issue banner); for remote access inject an authorized_keys entry +# via the installer or systemd credentials. The seeded default password must +# never be usable over the network. -PermitRootLogin yes +PermitRootLogin prohibit-password PubkeyAuthentication yes -PasswordAuthentication yes -KbdInteractiveAuthentication yes +PasswordAuthentication no +KbdInteractiveAuthentication no