Skip to content

Instantly share code, notes, and snippets.

@dwallraff
Created September 10, 2016 16:59
Show Gist options
  • Save dwallraff/fb66bdfb486a4ad26383a3a94355d356 to your computer and use it in GitHub Desktop.
Save dwallraff/fb66bdfb486a4ad26383a3a94355d356 to your computer and use it in GitHub Desktop.
SSH config ProxyCommand
Host internal-*.example.net
  ProxyCommand ssh -T external.example.net 'nc %h %p'

Used to ssh internal-dev.example.net

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment