diff --git a/services/openssh.nix b/services/openssh.nix index da57ffa2..b65cfa02 100644 --- a/services/openssh.nix +++ b/services/openssh.nix @@ -2,9 +2,11 @@ services.openssh = { enable = true; openFirewall = true; - logLevel = "VERBOSE"; # Used for fail2ban monitoring - settings.PermitRootLogin = "no"; - settings.PasswordAuthentication = true; # Set this to false when keys are configured + settings = { + LogLevel = "VERBOSE"; # Used for fail2ban monitoring + PermitRootLogin = "no"; + 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.