fix: disable root login using password

This commit is contained in:
nhnn
2025-03-20 12:48:41 +03:00
committed by Inex Code
parent 0f605401a8
commit 4dd08c942a

View File

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