Skip to content

Instantly share code, notes, and snippets.

@benmmurphy
Created March 10, 2016 11:48
Show Gist options
  • Save benmmurphy/c210469864085948d3c3 to your computer and use it in GitHub Desktop.
Save benmmurphy/c210469864085948d3c3 to your computer and use it in GitHub Desktop.
appending unresolvable domains to ssh hosts
Host * !gateway !*.*
HostName %h.internal.domain
ProxyCommand ssh gateway exec nc %h %p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment