From 7b47e49804e40640bba806fc0d4e824076fd088d Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 16 May 2024 02:17:12 +0300 Subject: [PATCH] chore(config): ssh add ServerAlive settings --- ssh/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ssh/config b/ssh/config index 68e465a..f4cf070 100644 --- a/ssh/config +++ b/ssh/config @@ -2,4 +2,6 @@ Include shared.d/* Include local.d/* Host * + ServerAliveInterval 300 # send null packets every 5min to keep connection alive + ServerAliveCountMax 2 # if the server doesn't respond 2 times, it's gone so give up # IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"