From b753ca4aec0003aa846f75a55b2b5fb289de36d7 Mon Sep 17 00:00:00 2001 From: RootHost-Stormwind Date: Mon, 13 Jan 2025 02:27:44 +0100 Subject: [PATCH] disable password auth --- sshd.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sshd.nix b/sshd.nix index bd049c2..4990bf8 100644 --- a/sshd.nix +++ b/sshd.nix @@ -3,7 +3,9 @@ { services.openssh = { enable = true; - passwordAuthentication = true; + settings = { + PasswordAuthentication = false; + }; }; }