diff options
author | Martin Fischer <martin@push-f.com> | 2024-12-28 11:39:06 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2024-12-29 08:53:10 +0100 |
commit | 20558ccfbc5041128834af04e3bf0c44c637ce99 (patch) | |
tree | fb8982a3eb57166c701892ff9e66757d444afe60 | |
parent | 8d0d4995c388062f295e6c1fb1e8c9e5c3259c52 (diff) |
fix(server): disable PasswordAuthentication for openssh
-rw-r--r-- | nixos/profiles/server/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/profiles/server/default.nix b/nixos/profiles/server/default.nix index 4ccef67..ac24e20 100644 --- a/nixos/profiles/server/default.nix +++ b/nixos/profiles/server/default.nix @@ -8,6 +8,9 @@ services = { openssh = { enable = true; + settings = { + PasswordAuthentication = false; + }; }; }; } |