aboutsummaryrefslogtreecommitdiff
path: root/src/infrastructure
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-27 08:22:51 -0300
committerEuAndreh <eu@euandre.org>2022-11-27 08:22:51 -0300
commit7fbd0c00b62f81a408e40f3cfefec670a85231ed (patch)
treeceada8ecaeb2eb98574b0e814138aa4afeca1983 /src/infrastructure
parentsrc/infrastructure/: Settle on euandre.org as host-name (diff)
downloadtoph-7fbd0c00b62f81a408e40f3cfefec670a85231ed.tar.gz
toph-7fbd0c00b62f81a408e40f3cfefec670a85231ed.tar.xz
src/infrastructure/ssh.conf: Enable persistent SSH connections
Diffstat (limited to 'src/infrastructure')
-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