From fa8c14607c33fd85e861cf02b79a8fd106e90c86 Mon Sep 17 00:00:00 2001 From: oddlama Date: Tue, 31 Jan 2023 01:17:25 +0100 Subject: [PATCH] chore: update sshd config to follow upstream renames --- modules/core/ssh.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modules/core/ssh.nix b/modules/core/ssh.nix index 4deba7f..9ac72ab 100644 --- a/modules/core/ssh.nix +++ b/modules/core/ssh.nix @@ -2,9 +2,11 @@ services.sshd.enable = true; services.openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; - permitRootLogin = "yes"; + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + PermitRootLogin = "yes"; + }; hostKeys = [ { path = "/etc/ssh/ssh_host_ed25519_key";