Skip to content

Instantly share code, notes, and snippets.

@miguelcnf
Created November 19, 2014 12:15
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 miguelcnf/d1e6a02be634df8b0fd6 to your computer and use it in GitHub Desktop.
Save miguelcnf/d1e6a02be634df8b0fd6 to your computer and use it in GitHub Desktop.
$ cat /.ssh/config
Host *
ServerAliveInterval 60
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
Host nat*.eu1.dev.foo.bar.com
ProxyCommand none
IdentityFile /Users/foo/.ssh/id_dsa_bar
User ec2-user
ControlMaster auto
ControlPath /tmp/%r@%h:%p
Host 10.34.*
ForwardAgent yes
User ec2-user
IdentityFile /Users/foo/.ssh/id_dsa_bar
ProxyCommand ssh nat1.eu1.dev.foo.bar.com nc %h %p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment