fix: disable root login using password

This commit is contained in:
nhnn
2025-03-20 12:48:41 +03:00
parent 6d0271a9fe
commit 381468ad16

View File

@@ -99,7 +99,7 @@ in
enable = config.selfprivacy.ssh.enable;
settings = {
PasswordAuthentication = config.selfprivacy.ssh.passwordAuthentication;
PermitRootLogin = "yes";
PermitRootLogin = "prohibit-password";
LoginGraceTime = 0;
};
openFirewall = false;