diff options
author | Lars Wirzenius <lwirzenius@wikimedia.org> | 2020-03-06 17:33:35 +0200 |
---|---|---|
committer | Lars Wirzenius <lwirzenius@wikimedia.org> | 2020-03-06 18:35:48 +0200 |
commit | 75ddd49eadf6b2dbc45b8230e9561888ef0bd31a (patch) | |
tree | 94f402b893263c7a9b94f9090f436150286bc848 /ssh/config-wmf | |
parent | 4a3b29159a68a68588b6972b8911c727cc4300d2 (diff) | |
download | liw-dot-files-75ddd49eadf6b2dbc45b8230e9561888ef0bd31a.tar.gz |
Add: ssh config
Diffstat (limited to 'ssh/config-wmf')
-rw-r--r-- | ssh/config-wmf | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/ssh/config-wmf b/ssh/config-wmf new file mode 100644 index 0000000..3240f57 --- /dev/null +++ b/ssh/config-wmf @@ -0,0 +1,28 @@ +# SSH client configuration for WMF use. + +# Turn this on for Match to work. +CanonicalizeHostname yes + +# Defaults for all WMF hosts. +Match host=*.wikimedia.org,*.wmnet + ForwardAgent no + IdentitiesOnly yes + KbdInteractiveAuthentication no + PasswordAuthentication no + User liw + UserKnownHostsFile ~/.ssh/known_hosts.d/wmf-prod + +# Configure the initial connection to the bastion host, with the one +# HostName closest to you +Host bast + HostName bast3004.wikimedia.org + IdentityFile ~/.ssh/prod.key + +# Proxy all connections to internal servers through the bastion host +Host *.wmnet + ProxyJump bast + IdentityFile ~/.ssh/prod.key + +Host gerrit.wikimedia.org + Port 29418 + IdentityFile ~/.ssh/lab.key |