summaryrefslogtreecommitdiff
path: root/ssh/config-wmf
diff options
context:
space:
mode:
Diffstat (limited to 'ssh/config-wmf')
-rw-r--r--ssh/config-wmf14
1 files changed, 13 insertions, 1 deletions
diff --git a/ssh/config-wmf b/ssh/config-wmf
index 7778d15..3a253c0 100644
--- a/ssh/config-wmf
+++ b/ssh/config-wmf
@@ -4,7 +4,7 @@
CanonicalizeHostname yes
# Defaults for all WMF hosts.
-Match host=*.wikimedia.org,*.wmnet
+Match host=*.wikimedia.org,*.wmnet,*.wmflabs,*.wmflabs.org
ForwardAgent no
IdentitiesOnly yes
KbdInteractiveAuthentication no
@@ -18,11 +18,23 @@ Host bast
HostName bast3004.wikimedia.org
IdentityFile ~/.ssh/prod.key
+# Other bastion hosts.
+Host bast*.wikimedia.org
+ IdentityFile ~/.ssh/prod.key
+
+Host labsbast
+ HostName primary.bastion.wmflabs.org
+ IdentityFile ~/.ssh/lab.key
+
# Proxy all connections to internal servers through the bastion host
Host *.wmnet *.wikimedia.org !gerrit.wikimedia.org !bast*.wikimedia.org
ProxyJump bast
IdentityFile ~/.ssh/prod.key
+Host *.wmflabs
+ ProxyJump labsbast
+ IdentityFile ~/.ssh/lab.key
+
Host gerrit.wikimedia.org
Port 29418
IdentityFile ~/.ssh/lab.key