sshd: accept SYSTEMD_PAGER
This commit is contained in:
parent
59180b6691
commit
6862ebc9c2
|
@ -243,6 +243,7 @@
|
||||||
# Required for deployment and sops
|
# Required for deployment and sops
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
AcceptEnv = "SYSTEMD_PAGER";
|
||||||
LoginGraceTime = 30; # throw out unauthenticated connections earlier than the 120 default
|
LoginGraceTime = 30; # throw out unauthenticated connections earlier than the 120 default
|
||||||
PasswordAuthentication = lib.mkIf (!config.c3d2.k-ot.enable) false;
|
PasswordAuthentication = lib.mkIf (!config.c3d2.k-ot.enable) false;
|
||||||
PermitRootLogin = lib.mkOverride 900 "prohibit-password";
|
PermitRootLogin = lib.mkOverride 900 "prohibit-password";
|
||||||
|
|
Loading…
Reference in New Issue