From 8fd0ef1397a941a36f405a5435c4d7737ac05e3f Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 4 Jul 2023 15:32:33 +0900 Subject: [PATCH] settings for openssh --- services/openssh.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/openssh.nix b/services/openssh.nix index e69375db..845b6d6c 100644 --- a/services/openssh.nix +++ b/services/openssh.nix @@ -2,8 +2,8 @@ services.openssh = { enable = true; openFirewall = true; - settings.permitRootLogin = "no"; - settings.passwordAuthentication = "true"; # Set this to false when keys are configured + settings.PermitRootLogin = "no"; + settings.PasswordAuthentication = "true"; # Set this to false when keys are configured banner = '' You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only.