refactor: Disable SSH login using password

This commit is contained in:
Inex Code
2025-03-28 17:08:09 +03:00
parent 2ee27353da
commit b571449efe
2 changed files with 1 additions and 9 deletions

View File

@@ -99,9 +99,8 @@ in
services.openssh = {
enable = config.selfprivacy.ssh.enable;
settings = {
PasswordAuthentication = config.selfprivacy.ssh.passwordAuthentication;
PasswordAuthentication = false;
PermitRootLogin = "yes";
LoginGraceTime = 0;
};
openFirewall = false;