From 2dde3cb2a44a992767759c5d77f9f21b367d1273 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 28 Jul 2020 17:45:41 +0200 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- ssh/ssh_config | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/ssh/ssh_config b/ssh/ssh_config index b211ec7..63e75e2 100644 --- a/ssh/ssh_config +++ b/ssh/ssh_config @@ -46,9 +46,14 @@ Host * # VisualHostKey no # ProxyCommand ssh -q -W %h:%p gateway.example.com # RekeyLimit 1G 1h - SendEnv LANG LC_* - HashKnownHosts no - GSSAPIAuthentication yes - ForwardAgent yes - ServerAliveInterval 10 + ControlMaster auto + ControlPath /tmp/ssh_mux_%h_%p_%r + ControlPersist 2h + # SendEnvs LANG LC_* + HashKnownHosts no + GSSAPIAuthentication yes + ForwardAgent yes + ServerAliveInterval 60 + ServerAliveCountMax 10 + TCPKeepAlive no -- 2.39.5