Created
January 12, 2018 10:19
-
-
Save tolleiv/588995f1f703d9502edcb3cbeeb71b30 to your computer and use it in GitHub Desktop.
SSH Config so "ssh ip.aws" uses the right key with the right settings
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 *.aws | |
IdentityFile ~/.ssh/super-secret-key.pem | |
User ubuntu | |
StrictHostKeyChecking no | |
ProxyCommand nc $(sed -e "s/.aws$//" <<< "%h") %p |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment