Skip to content

Instantly share code, notes, and snippets.

@nathansgreen
Created February 13, 2023 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathansgreen/5c098ce09d0695a9a7a880fa67db1691 to your computer and use it in GitHub Desktop.
Save nathansgreen/5c098ce09d0695a9a7a880fa67db1691 to your computer and use it in GitHub Desktop.
.ssh/config
IdentitiesOnly=yes
ConnectTimeout=10
ConnectionAttempts=1
Host *
UseKeychain yes
GSSAPIAuthentication no
Host 10.245.*
User ec2-user
IdentityFile ~/.ssh/aws.pem
Host 10.239.*
User alpine
IdentityFile ~/.ssh/int.pem
Host vcs
HostName 10.240.31.20
User git
IdentityFile ~/.ssh/git.pem
Compression yes
LogLevel debug3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment