From 7aa50aa4038c6de7c1ff772bcbcb62197bc4c5ee Mon Sep 17 00:00:00 2001 From: lew Date: Sat, 4 Apr 2026 19:27:22 +0100 Subject: [PATCH] disable root ssh login --- hosts/lab/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/lab/default.nix b/hosts/lab/default.nix index f710f6e..6e0a22c 100644 --- a/hosts/lab/default.nix +++ b/hosts/lab/default.nix @@ -11,7 +11,7 @@ enable = true; settings = { PasswordAuthentication = false; - PermitRootLogin = "yes"; + PermitRootLogin = "no"; }; };