feat(deploy): enable root SSH key access on douro

Allow key-only root login (PermitRootLogin prohibit-password) and add
authorized SSH key for remote administration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Patrick Mulligan 2026-03-01 21:38:56 -05:00
commit 40a0d5aa70

View file

@ -134,10 +134,15 @@
enable = true;
settings = {
PasswordAuthentication = false;
PermitRootLogin = "no";
PermitRootLogin = "prohibit-password";
};
};
# Root SSH key access
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIES8I43AgXppATvtBqnUycakMMs68T2J52cTwNt6qPak padreug@gizmo"
];
# Auto-updates (optional - disabled by default for stability)
# system.autoUpgrade.enable = false;