Restrict root login to key only

This commit is contained in:
pazpi 2025-02-21 17:45:46 +01:00
parent db350e2445
commit 2aa2a41617

View file

@ -12,6 +12,8 @@ in
# Enable SSH
services = {
openssh.enable = true;
# Disable password root access. Necessary for Colmena
openssh.permitRootLogin = "prohibit-password";
};
my.utils.serverNodeUsers.enable = true;