summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tw/home.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/tw/home.scm b/tw/home.scm
index cade5881..9bc9384a 100644
--- a/tw/home.scm
+++ b/tw/home.scm
@@ -116,7 +116,15 @@ auto-expand-secmem
;; CERN stuff
,(openssh-host
(name "lxtunnel.cern.ch")
- (proxy no-proxy)) ; avoid ProxyJump loops
+ (proxy no-proxy) ; avoid ProxyJump loops
+ ;; Share a single connection to lxtunnel, to speed up subsequent
+ ;; connections to the GPN. Keep it open for a few minutes after
+ ;; the last user connection exits, in case we need it again.
+ (extra-content "\
+ ControlMaster auto
+ ControlPath ${XDG_RUNTIME_DIR}/ssh_mux_%h_%p_%r
+ ControlPersist 5m
+"))
,(openssh-host
(name "lxplus*.cern.ch") ; also catch e.g. lxplus9
(proxy no-proxy) ; no jump needed