From ff09a57d27bdb6251c022e28cef380c33689f95c Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Fri, 21 Feb 2025 23:40:32 -0500 Subject: [PATCH] disable password auth --- common/systemModules/sshd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/systemModules/sshd.nix b/common/systemModules/sshd.nix index 930c9ff..0c0d2a2 100644 --- a/common/systemModules/sshd.nix +++ b/common/systemModules/sshd.nix @@ -9,6 +9,9 @@ openssh = { enable = true; authorizedKeysFiles = [ "${./ssh.keys}" ]; + settings = { + PasswordAuthentication = false; + }; }; }; }