diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-05-06 14:06:57 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-05-06 14:06:57 +0200 |
commit | bb5e0c46e5cf6eb04832e866d72ca35b6f3e3a55 (patch) | |
tree | 0bc37e4da05c699cfc55b8a125d36fff67a3857d /.ssh/config.d/mintlab-prd | |
parent | 8a12b7e2aed95d4cc2eac3b6c6a2db9ecdb72b7b (diff) |
Update SSH configs
Diffstat (limited to '.ssh/config.d/mintlab-prd')
-rw-r--r-- | .ssh/config.d/mintlab-prd | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/.ssh/config.d/mintlab-prd b/.ssh/config.d/mintlab-prd index 166ae4a..d200918 100644 --- a/.ssh/config.d/mintlab-prd +++ b/.ssh/config.d/mintlab-prd @@ -1,10 +1,3 @@ -Host *.prd.zsys.nl - IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub - ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(zs-ec2-id -P zs-prd %h)" - StrictHostKeyChecking no - User mintlab - UserKnownHostsFile /dev/null - Host bastion.prd.zsys.nl Hostname bastion-host-zaaksysteem-prd @@ -31,4 +24,18 @@ Host wiki.zaaksysteem.nl User mintlab Hostname www01.mintlab.nl +Host i-*.prd.zsys.nl + IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub + ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(printf "%%s" "%h" | awk -F. '{ print $1 }')" + StrictHostKeyChecking no + User mintlab + UserKnownHostsFile /dev/null + +Host *.prd.zsys.nl + IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub + ProxyCommand zs-ec2-ssh -P zs-prd -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(zs-ec2-id -P zs-prd %h)" + StrictHostKeyChecking no + User mintlab + UserKnownHostsFile /dev/null + # vim: set ft=sshconfig : |