Skip to content

Instantly share code, notes, and snippets.

@joseym
Created February 18, 2012 04:50
Show Gist options
  • Save joseym/1857476 to your computer and use it in GitHub Desktop.
Save joseym/1857476 to your computer and use it in GitHub Desktop.
SSH: Server Hop
Host [server 2]
ProxyCommand ssh [server1] exec nc %h %p
User [username]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment