From 7fbd0c00b62f81a408e40f3cfefec670a85231ed Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 27 Nov 2022 08:22:51 -0300 Subject: src/infrastructure/ssh.conf: Enable persistent SSH connections --- src/infrastructure/ssh.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/infrastructure/ssh.conf b/src/infrastructure/ssh.conf index 01a55ed..9da47d6 100644 --- a/src/infrastructure/ssh.conf +++ b/src/infrastructure/ssh.conf @@ -1,6 +1,9 @@ Host * ServerAliveInterval 30 ServerAliveCountMax 20 + ControlMaster auto + ControlPath ${XDG_CACHE_HOME}/ssh/conn/%r@%h:%p + ControlPersist 1h Host suyin HostName ch-s010.rsync.net -- cgit v1.2.3