diff options
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 : |