Created
January 15, 2015 17:51
-
-
Save ralph-tice/cf5d9b46da095a2f6df7 to your computer and use it in GitHub Desktop.
ssh config for transparent ssh through amazon NAT AMIs to ubuntu private instances
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host *.vpc.mycorp.com | |
User ubuntu | |
ProxyCommand ssh -W %h:%p [email protected] | |
IdentityFile "~/.ssh/mykey.pem" | |
Host 172.1.* | |
User ubuntu | |
ProxyCommand ssh -W %h:%p [email protected] | |
IdentityFile "~/.ssh/mykey.pem" | |
Host nat.mycorp.com | |
User ec2-user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment