Created
August 4, 2017 20:58
-
-
Save douglasmiranda/58bb5e10e8e60e222965ec66e9443dbb to your computer and use it in GitHub Desktop.
ssh tunnel / proxy ssh
This file contains hidden or 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
| # ~/.ssh/config | |
| Host XXX | |
| proxycommand ssh root@MYSERVER nc %h %p | |
| hostname DESTINATIONSERVER | |
| port 22 | |
| user DESTINATIONSERVER_USER |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment