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
|
controlmaster auto
|
||||||
controlpath /tmp/ssh-%r@%h:%p
|
controlpath /tmp/ssh-%r@%h:%p
|
||||||
|
|
||||||
VerifyHostKeyDNS yes
|
VerifyHostKeyDNS yes
|
||||||
AddKeysToAgent 90m
|
AddKeysToAgent 90m
|
||||||
CanonicalizeHostname always
|
CanonicalizeHostname always
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -42,6 +42,7 @@ in
|
|||||||
TrustedUserCAKeys = /etc/ssh/ca.pub
|
TrustedUserCAKeys = /etc/ssh/ca.pub
|
||||||
'';
|
'';
|
||||||
settings = {
|
settings = {
|
||||||
|
UsePAM = false;
|
||||||
PrintMotd = true;
|
PrintMotd = true;
|
||||||
PermitRootLogin = "prohibit-password";
|
PermitRootLogin = "prohibit-password";
|
||||||
PasswordAuthentication = false;
|
PasswordAuthentication = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user