diff options
author | Timo Wilken | 2023-06-02 23:17:23 +0200 |
---|---|---|
committer | Timo Wilken | 2023-06-02 23:17:23 +0200 |
commit | 75c6072cce6b53db9c3b9cb7adf053cefec0bcae (patch) | |
tree | 94ea81f17842468f1feb3bd083b31a1dec2ff1b6 /tw/home.scm | |
parent | 82b59ca86fdd40a93d899ba0f9a8f296b1491120 (diff) |
Share connections to lxtunnel
Diffstat (limited to 'tw/home.scm')
-rw-r--r-- | tw/home.scm | 10 |
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 |