1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Host bastion.*.i.*.example.net
User simon.thulbourn
Port 22
ForwardAgent yes
IdentityFile /Users/%u/.ssh/example.net/%r/id_rsa
UseKeychain yes
Host 10.*
User simon.thulbourn
Port 23
ForwardAgent yes
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentityFile /Users/%u/.ssh/example.net/%r/id_rsa
UseKeychain yes
ProxyCommand >&1; h="%h"; exec ssh -q $(ssh-bastion -ip $h) nc %h %p
Host 20.20.20.?
User simon.thulbourn
Port 24
ForwardAgent yes
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
IdentityFile /Users/%u/.ssh/example.net/%r/id_rsa
UseKeychain yes
ProxyCommand >&1; h="%h"; exec ssh -q $(ssh-bastion -ip $h) nc %h %p
Host *
IdentityFile /Users/%u/.ssh/%h/%r/id_rsa
UseKeychain yes
Port 25
|