Created
May 8, 2015 17:36
-
-
Save mredar/f240b1a6fe8d21add9be to your computer and use it in GitHub Desktop.
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
Setup the tunnel: | |
ssh -i <identity file for bastion> -L <localport>:<endpoint ip or name>:<endpoint ssh port or other port> <bastion user>@<ssh bastion server> | |
Then from local machine connect to local port which will be forwarded to endpoint | |
ssh -i <identity file for endpoint> <endpoint user>@localhost -p <localport from above> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment