diff --git a/services/openssh.nix b/services/openssh.nix index d28e187a..da57ffa2 100644 --- a/services/openssh.nix +++ b/services/openssh.nix @@ -4,7 +4,7 @@ openFirewall = true; logLevel = "VERBOSE"; # Used for fail2ban monitoring settings.PermitRootLogin = "no"; - settings.PasswordAuthentication = "true; # Set this to false when keys are configured + 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. @@ -38,9 +38,8 @@ and work product are private and confidential. See User Agreement for details. ''; - }; # Enable GPG Agent support: - programs.gnupg.agent.enableSSHSupport = "true"; + programs.gnupg.agent.enableSSHSupport = true; } \ No newline at end of file