From 961a8338a204ef7f83c4d871bf5017e93c07ffb4 Mon Sep 17 00:00:00 2001 From: notohh Date: Wed, 26 Apr 2023 22:08:57 -0400 Subject: [PATCH] ssh: disable root login --- modules/openssh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openssh.nix b/modules/openssh.nix index 48a7fbc..04caab9 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -5,7 +5,7 @@ KbdInteractiveAuthentication = false; PasswordAuthentication = false; PubkeyAuthentication = true; - PermitRootLogin = "yes"; + PermitRootLogin = "no"; StreamLocalBindUnlink = "yes"; GatewayPorts = "clientspecified"; };