Created
November 1, 2013 20:37
-
-
Save Trott/7271573 to your computer and use it in GitHub Desktop.
Using nc to proxy SSH through an intermediary server (here called intermediary.example.com). Put this in ~/.ssh/config and `ssh target` will do the trick.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host target | |
ProxyCommand ssh -q intermediary.example.com nc target.example.com 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment