From 446abd5231d6d60102b40b4bd18c047cb203ef9a Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 29 Jan 2023 16:22:24 +0100 Subject: [PATCH] Update openssh config to follow renames. --- services/openssh.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/services/openssh.nix b/services/openssh.nix index 4114e3c..e6d5979 100644 --- a/services/openssh.nix +++ b/services/openssh.nix @@ -12,9 +12,11 @@ mkIf (elem "openssh" config.machine.services) { kexAlgorithms = [ "curve25519-sha256@libssh.org" ]; sftpFlags = [ "-f AUTHPRIV" "-l INFO" ]; startWhenNeeded = true; - challengeResponseAuthentication = false; - passwordAuthentication = false; - permitRootLogin = "no"; + settings = { + KbdInteractiveAuthentication = false; + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; extraConfig = let users = concatMapStrings (user: "${user.name} ") config.machine.administrators + (optionalString config.services.gitea.enable (config.services.gitea.user + " ")); in ''