ssh: enable keepalives

This commit is contained in:
Sam W 2022-06-17 14:39:50 +01:00
parent ced190e501
commit 8de7a7b154
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ in {
ssh = { ssh = {
enable = true; enable = true;
includes = ["~/.ssh/config.local"]; includes = ["~/.ssh/config.local"];
serverAliveInterval = 30;
serverAliveCountMax = 10;
matchBlocks."*".user = "samw"; matchBlocks."*".user = "samw";
}; };
}; };