Created
December 14, 2019 11:51
-
-
Save james-ni/998d6b9a29d26ba9e52913f80e59f436 to your computer and use it in GitHub Desktop.
Connect to a private server through SSH jump box
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
ssh -fN -L 8888:10.1.2.151:80 ec2-user@52.62.11.59 -i PRIVATEKEY.pem | |
curl -i localhost:8888 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment