ssh keepalive 🇩🇰
This commit is contained in:
parent
cad10a31eb
commit
6815379c71
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@
|
||||||
# will reuse the master session's connection rather than initiating a new
|
# will reuse the master session's connection rather than initiating a new
|
||||||
# one. This is especially useful when using SCP.
|
# one. This is especially useful when using SCP.
|
||||||
controlMaster = "yes";
|
controlMaster = "yes";
|
||||||
|
# ISPs in Denmark prefer the simplicity of CG-NAT and stateful firewalls
|
||||||
|
# to the mess that is IPv6. Force keepalive packets to avoid sessions
|
||||||
|
# dying. See https://news.ycombinator.com/item?id=25737611.
|
||||||
|
serverAliveInterval = 25;
|
||||||
matchBlocks = {
|
matchBlocks = {
|
||||||
"git.caspervk.net" = {
|
"git.caspervk.net" = {
|
||||||
port = 2222;
|
port = 2222;
|
||||||
|
|
Loading…
Reference in a new issue