From 070c9d9b47f7998ced8d4c84eb44e2849cb8879f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 4 May 2023 19:05:47 +0200 Subject: [PATCH] openssh: disable password authentication --- config/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/config/default.nix b/config/default.nix index 84320f1a..112d4ec4 100644 --- a/config/default.nix +++ b/config/default.nix @@ -185,6 +185,7 @@ banner = '' See https://gitea.c3d2.de/c3d2/nix-config for configuration and documentation ''; + passwordAuthentication = false; permitRootLogin = "prohibit-password"; };