From 229d1c51715b9ca7952f4707a09d738ebb3f3509 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Wed, 5 Apr 2023 09:42:08 +0200 Subject: [PATCH] Tempory allow ssh login --- modules/system/ssh/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/system/ssh/default.nix b/modules/system/ssh/default.nix index 9aa4a07..c5a1ef4 100644 --- a/modules/system/ssh/default.nix +++ b/modules/system/ssh/default.nix @@ -14,11 +14,12 @@ in enable = true; ports = [ 22 ]; openFirewall = true; + allowSFTP = true; settings = { X11forwarding = true; PermitRootLogin = "no"; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + passwordAuthentication = true; + kbdInteractiveAuthentication = true; }; }; environment.systemPackages = with pkgs; [ sshfs ];