Browse code

ssh_config - v1.2 - Updates related to work servers

See Versions section for details

Fred authored on12/06/2025 22:46:17
Showing1 changed files
... ...
@@ -1,8 +1,8 @@
1 1
 # Title: config
2 2
 # Author: Frédéric CHEVALIER <vaderf@free.fr>
3
-# Version: 1.1
3
+# Version: 1.2
4 4
 # Created in: 2015-02-18
5
-# Modified in: 2022-02-24
5
+# Modified in: 2025-06-12
6 6
 
7 7
 
8 8
 
... ...
@@ -10,6 +10,7 @@
10 10
 # Versions #
11 11
 #==========#
12 12
 
13
+# v1.2 - 2025-06-12: update authentication method for work jump server / update location test by pinging DNS at work / keep connection alive for work servers
13 14
 # v1.1 - 2022-02-24: host options simplified with matching domain / conditional jump server added
14 15
 # v1.0 - 2022-01-23: work domain name updated / office machine name updated / dead server discarded
15 16
 # v0.10 - 2020-11-23: work server updated
... ...
@@ -106,6 +107,7 @@ Host github_p
106 107
 Host heron
107 108
     HostName heron.txbiomed.org
108 109
     PubkeyAuthentication no
110
+    GSSAPIAuthentication no
109 111
     ServerAliveInterval 120
110 112
     LogLevel QUIET
111 113
 
... ...
@@ -133,12 +135,13 @@ Host woffice
133 135
     User winkal
134 136
 
135 137
 # Conditional jump host
136
-Match host !heron.txbiomed.org,*.txbiomed.org,*.txbiomed.local !exec "ping -c 1 zeus.txbiomed.org &> /dev/null"
138
+Match host !heron.txbiomed.org,*.txbiomed.org,*.txbiomed.local !exec "ping -c 1 -W 2 206.124.51.1 &> /dev/null"
137 139
     ProxyJump heron
138 140
 
139 141
 # Default values for host in TxBiomed domain
140 142
 Match host *.txbiomed.org,*.txbiomed.local
141 143
     User fcheval
144
+    ServerAliveInterval 120
142 145
     ForwardX11 yes
143 146
     ForwardX11Trusted yes
144 147