Skip to content

Instantly share code, notes, and snippets.

@gtato
Last active August 29, 2015 14:11
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 gtato/638cd34db5a83bd510c8 to your computer and use it in GitHub Desktop.
Save gtato/638cd34db5a83bd510c8 to your computer and use it in GitHub Desktop.
ssh stuff
Host axel07 maia01
HostName %h.doc.ic.ac.uk
User gtato
ProxyCommand ssh -q docgate /bin/nc -q0 %h %p
Host docgate
User gtato
HostName shell2.doc.ic.ac.uk
ControlMaster auto
ControlPath ~/.ssh/ssh_control_%h_%p_%r
ControlPersist 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment