fix: further harden 'hardened-openssh' module

This commit is contained in:
2025-12-03 17:14:08 +01:00
parent 1cba6c968a
commit 0bad5c492c

View File

@@ -10,6 +10,7 @@ in
services.openssh.settings = optionalAttrs cfg.harden {
PermitRootLogin = "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
ChallengeResponseAuthentication = false;
X11Forwarding = false;
AllowAgentForwarding = false;