From 3e0a3026281e2cb352b76d1342f98329cb131b8a Mon Sep 17 00:00:00 2001 From: Andreas Zweili Date: Tue, 25 Jan 2022 19:27:29 +0100 Subject: [PATCH] disable password logins for ssh --- modules/common/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/common/default.nix b/modules/common/default.nix index 319fd94..0f259da 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -35,6 +35,7 @@ openssh = { enable = true; permitRootLogin = "no"; + passwordAuthentication = false; }; };