summaryrefslogtreecommitdiff
path: root/src/ssh.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh.conf')
-rw-r--r--src/ssh.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ssh.conf b/src/ssh.conf
new file mode 100644
index 0000000..ca41df0
--- /dev/null
+++ b/src/ssh.conf
@@ -0,0 +1,6 @@
+Host *
+ ServerAliveInterval 30
+ ServerAliveCountMax 20
+ ControlMaster auto
+ ControlPath ${XDG_STATE_HOME}/ssh/conn/%r@%h:%p
+ ControlPersist 1h