From 93486eba6fda66aeb4704097be98da5e7df3b9c1 Mon Sep 17 00:00:00 2001 From: Filip Borum Poulsen Date: Mon, 9 Dec 2024 08:11:20 +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 a77c69f..009439b 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:8081 127.0.0.1:8080 GatewayPorts yes Compression yes + ServerAliveInterval 10 + ServerAliveCountMax 3 + ClientAliveInterval 10 + ClientAliveCountMax 3