From 28c5624eb89c476a401837cedb03442194482bc5 Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Sat, 8 Mar 2025 22:51:41 -0500 Subject: [PATCH] global/ssh: disable password authentication --- modules/global/ssh.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/global/ssh.nix b/modules/global/ssh.nix index be80844..417d416 100644 --- a/modules/global/ssh.nix +++ b/modules/global/ssh.nix @@ -7,6 +7,7 @@ with lib; openFirewall = mkDefault true; sftpServerExecutable = "internal-sftp"; settings = { + PasswordAuthentication = false; X11Forwarding = mkDefault false; GatewayPorts = mkDefault "yes"; ClientAliveInterval = 60;