From a58e767fe1b614da6e228a7ce696bf669e94cf88 Mon Sep 17 00:00:00 2001 From: Bad Date: Wed, 7 Jul 2021 12:55:16 +0200 Subject: [PATCH] Improve ssh security and open firewall --- profiles/ssh/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/profiles/ssh/default.nix b/profiles/ssh/default.nix index 328d5e2..6b29e63 100644 --- a/profiles/ssh/default.nix +++ b/profiles/ssh/default.nix @@ -4,6 +4,8 @@ forwardX11 = true; permitRootLogin = "no"; startWhenNeeded = true; + openFirewall = true; + passwordAuthentication = false; }; nix.sshServe.enable = true; nix.sshServe.keys = [