Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions elements/bluefin-server/os-sshd-config.bst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
kind: import
description: |
Install a temporary sshd drop-in that allows root login for bring-up
and cluster boot tests.
Install a hardened sshd drop-in: key-based auth only, no direct root
password login. Bring-up diagnostics use key-based access.

sources:
- kind: local
Expand Down
12 changes: 7 additions & 5 deletions files/os/ssh/sshd_config.d/bluefin-server.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Temporary SSH configuration for Bluefin Server bring-up.
# This file is intentionally ephemeral and will be removed once boot-time
# diagnostics no longer require remote shell access.
# SSH configuration for Bluefin Server.
# Hardened defaults: no direct root password login, no password auth at all.
# Bring-up diagnostics must use key-based auth (inject an authorized_keys
# entry via systemd credentials or the installer).

PermitRootLogin yes
PermitRootLogin prohibit-password
PubkeyAuthentication yes
PasswordAuthentication yes
PasswordAuthentication no
KbdInteractiveAuthentication no