Created
July 26, 2020 19:23
-
-
Save richlamdev/d954bfa308cac79f37d8525f015be4d1 to your computer and use it in GitHub Desktop.
SSH Tunnel Example
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
#on remote server | |
python3 -m http.server 25000 | |
#on local client | |
ssh -L 8000:localhost:25000 id@remote -N | |
Open browser and navigate to http://localhost:8000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment