configs/ssh: disable Pam in the module too, fmt global params

This commit is contained in:
Aaron Bieber 2024-07-01 16:47:37 -06:00
parent 6633b2ec8d
commit d5ace8a093
No known key found for this signature in database

View File

@ -28,9 +28,9 @@ in
controlmaster auto
controlpath /tmp/ssh-%r@%h:%p
VerifyHostKeyDNS yes
AddKeysToAgent 90m
CanonicalizeHostname always
VerifyHostKeyDNS yes
AddKeysToAgent 90m
CanonicalizeHostname always
'';
};
};
@ -42,6 +42,7 @@ in
TrustedUserCAKeys = /etc/ssh/ca.pub
'';
settings = {
UsePAM = false;
PrintMotd = true;
PermitRootLogin = "prohibit-password";
PasswordAuthentication = false;