keepalive

This commit is contained in:
soraefir
2026-05-03 01:47:38 +02:00
parent b1bbb3ce86
commit d3a3941591

View File

@@ -14,6 +14,9 @@ in {
settings = { settings = {
PasswordAuthentication = false; PasswordAuthentication = false;
PermitRootLogin = "prohibit-password"; PermitRootLogin = "prohibit-password";
ClientAliveInterval = 60;
ClientAliveCountMax = 3;
TCPKeepAlive = true;
}; };
}; };
users.users = lib.mapAttrs (name: userList: { users.users = lib.mapAttrs (name: userList: {