all: remove multi-entry knownHosts file, enable CA
This commit is contained in:
parent
2a08d624e8
commit
29c2781ca8
@ -208,14 +208,8 @@ in {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
knownHosts = {
|
||||
"*.bold.daemon,*.humpback-trout.ts.net,*.suah.dev" = {
|
||||
publicKeyFile = caPubKeyFile;
|
||||
certAuthority = true;
|
||||
};
|
||||
};
|
||||
extraConfig = ''
|
||||
#TrustedUserCAKeys = /etc/ssh/ca.pub
|
||||
TrustedUserCAKeys = /etc/ssh/ca.pub
|
||||
'';
|
||||
settings = {
|
||||
PermitRootLogin = "prohibit-password";
|
||||
|
Loading…
Reference in New Issue
Block a user