From 5e19c6b52fad37334693f7a891163ef3dc2222f2 Mon Sep 17 00:00:00 2001 From: ISnortPennies Date: Sun, 22 Jan 2023 02:50:24 -0500 Subject: [PATCH] changed ssh authentication settings --- configuration.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 40dcf40..6be9cf7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -48,7 +48,11 @@ }; services.openssh = { enable = true; - settings.PermitRootLogin = "yes"; + settings = { + PermitRootLogin = "yes"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; };