aboutsummaryrefslogtreecommitdiff
path: root/nix/modules/ssh.nix
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-02-03 21:27:56 -0800
committerPreston Pan <ret2pop@gmail.com>2025-02-03 21:27:56 -0800
commit990134fdcefe5a520b09ac6dfcaf97066fde6685 (patch)
tree6bda301a63218b7b0c7dd8b0eb6051e657e3533f /nix/modules/ssh.nix
parent21a09d9eea2be5c7a326a6f177521bb1cda25fb9 (diff)
update nix directory structure to be more flexible and general
Diffstat (limited to 'nix/modules/ssh.nix')
-rw-r--r--nix/modules/ssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/modules/ssh.nix b/nix/modules/ssh.nix
index 55dc2fb..5c705c9 100644
--- a/nix/modules/ssh.nix
+++ b/nix/modules/ssh.nix
@@ -5,7 +5,7 @@
settings = {
PasswordAuthentication = true;
AllowUsers = [ config.monorepo.vars.userName ];
- PermitRootLogin = "no";
+ PermitRootLogin = "prohibit-password";
KbdInteractiveAuthentication = false;
};
};