From 18e0f8e1579ac138147860eb2bb41c66fb9b6626 Mon Sep 17 00:00:00 2001 From: Filip Borum Poulsen Date: Mon, 9 Dec 2024 08:11:11 +0100 Subject: [PATCH] Added ssh keep alive --- auto-ssh-systemd-hosts.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/auto-ssh-systemd-hosts.conf b/auto-ssh-systemd-hosts.conf index c5a4078..7f4eb1e 100644 --- a/auto-ssh-systemd-hosts.conf +++ b/auto-ssh-systemd-hosts.conf @@ -8,3 +8,7 @@ Host bpfilip.dk RemoteForward 10.0.1.25:8080 127.0.0.1:8080 GatewayPorts yes Compression yes + ServerAliveInterval 10 + ServerAliveCountMax 3 + ClientAliveInterval 10 + ClientAliveCountMax 3