aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/infrastructure/ssh.conf3
1 files changed, 3 insertions, 0 deletions
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