sshd: accept SYSTEMD_PAGER

This commit is contained in:
Sandro - 2024-01-28 01:17:00 +01:00
parent 59180b6691
commit 6862ebc9c2
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 1 additions and 0 deletions

View File

@ -243,6 +243,7 @@
# Required for deployment and sops
enable = true;
settings = {
AcceptEnv = "SYSTEMD_PAGER";
LoginGraceTime = 30; # throw out unauthenticated connections earlier than the 120 default
PasswordAuthentication = lib.mkIf (!config.c3d2.k-ot.enable) false;
PermitRootLogin = lib.mkOverride 900 "prohibit-password";