configs/ssh: disable Pam in the module too, fmt global params
This commit is contained in:
parent
6633b2ec8d
commit
d5ace8a093
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user