keepalive
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
Reference in New Issue
Block a user