From 56658af63c43bcf2b631f4fe1cdfec7538af0eea Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sat, 2 Mar 2024 15:17:38 +0000 Subject: [PATCH] Disable root login over ssh --- services/sshd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/sshd.nix b/services/sshd.nix index 841cb90f..e2a38a7c 100644 --- a/services/sshd.nix +++ b/services/sshd.nix @@ -4,7 +4,7 @@ ports = [22]; settings = { UseDns = true; - PermitRootLogin = "without-password"; + PermitRootLogin = "no"; PasswordAuthentication = false; GatewayPorts = "yes"; LogLevel = "VERBOSE";