From 160d302a7475fd1fde2aeca1392c7d0d1f8e7361 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Fri, 7 Jun 2024 21:49:44 +0200 Subject: [PATCH] Update --- hosts/server/openssh.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/server/openssh.nix b/hosts/server/openssh.nix index 0fbd68f..9693a42 100644 --- a/hosts/server/openssh.nix +++ b/hosts/server/openssh.nix @@ -2,7 +2,8 @@ services.openssh = { enable = true; permitRootLogin = "no"; - passwordAuthentication = true; + passwordAuthentication = false; + settings.KbdInteractiveAuthentication = false; ports = [ 22 ]; banner = '' HEAVEN: