From 92903bc542d5ed9871e83c93369763941361b36e Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Sun, 16 Feb 2025 11:56:28 +0100 Subject: [PATCH] Update ssh settings on antares --- hosts/antares/configuration.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hosts/antares/configuration.nix b/hosts/antares/configuration.nix index 8d7be14..2127d01 100644 --- a/hosts/antares/configuration.nix +++ b/hosts/antares/configuration.nix @@ -18,8 +18,10 @@ }; services.openssh = { enable = true; - passwordAuthentication = false; - permitRootLogin = false; + settings = { + PasswordAuthentication = false; + PermitRootLogin = "no"; + }; }; networking.hostName = "antares"; -- 2.47.2