feat(networking/ssh): add keep alive configuration
This commit is contained in:
parent
f7593078fd
commit
a94d600530
1 changed files with 5 additions and 1 deletions
|
@ -37,7 +37,11 @@ in
|
|||
};
|
||||
}
|
||||
{
|
||||
services.openssh.enable = true;
|
||||
services.openssh = {
|
||||
enable = true;
|
||||
settings.ClientAliveInterval = 60;
|
||||
settings.ClientAliveCountMax = 3;
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
}
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue