no interactive auth for gitea

This commit is contained in:
2025-08-16 12:19:31 -05:00
parent 884a3f87eb
commit e33b53e459

View File

@@ -104,7 +104,14 @@
}; };
}; };
services.openssh.enable = true; services.openssh = {
enable = true;
settings = {
PermitRootLogin = lib.mkForce "no";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
networking.firewall.allowedTCPPorts = [ 22 3000 ]; networking.firewall.allowedTCPPorts = [ 22 3000 ];