blob: fbb472f6dc82f4452eef1f5ea5830be7ff69f253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Host *.lab.zsys.nl
IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
ProxyCommand zs-ec2-ssh -P default -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(zs-ec2-id -P default %h | head -n 1)"
StrictHostKeyChecking no
User mintlab
UserKnownHostsFile /dev/null
Host *.lab.ec2
IdentityFile ~/.ssh/id.d/%u@%L-ed25519.pub
ProxyCommand zs-ec2-ssh -P default -k "$HOME/.ssh/id.d/$USER@$(hostname -s)-ed25519.pub" -p "%p" -u "%r" -- "$(echo %h | awk -F. '{print $1}')"
StrictHostKeyChecking no
User mintlab
UserKnownHostsFile /dev/null
Host bastion.lab.zsys.nl
Hostname bastion-host-zaaksysteem-lab
# vim: set ft=sshconfig :
|