Update openssh config to follow renames.
This commit is contained in:
parent
663ee59f82
commit
446abd5231
1 changed files with 5 additions and 3 deletions
|
@ -12,9 +12,11 @@ mkIf (elem "openssh" config.machine.services) {
|
||||||
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||||
sftpFlags = [ "-f AUTHPRIV" "-l INFO" ];
|
sftpFlags = [ "-f AUTHPRIV" "-l INFO" ];
|
||||||
startWhenNeeded = true;
|
startWhenNeeded = true;
|
||||||
challengeResponseAuthentication = false;
|
settings = {
|
||||||
passwordAuthentication = false;
|
KbdInteractiveAuthentication = false;
|
||||||
permitRootLogin = "no";
|
PasswordAuthentication = false;
|
||||||
|
PermitRootLogin = "no";
|
||||||
|
};
|
||||||
extraConfig = let users = concatMapStrings (user: "${user.name} ") config.machine.administrators
|
extraConfig = let users = concatMapStrings (user: "${user.name} ") config.machine.administrators
|
||||||
+ (optionalString config.services.gitea.enable (config.services.gitea.user + " "));
|
+ (optionalString config.services.gitea.enable (config.services.gitea.user + " "));
|
||||||
in ''
|
in ''
|
||||||
|
|
Loading…
Reference in a new issue