Created
August 18, 2018 02:44
-
-
Save edgartaor/7454523d7b3d653a29d1a5855d1f4c5a to your computer and use it in GitHub Desktop.
Create a ssh tunnel for a custom port
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 -nNT -L 0.0.0.0:9000:localhost:4000 user@remoteserver | |
This allow to access localhost:9000 on your local machine and see what it's been served on the remoteserver on the port 4000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment