Skip to content

Instantly share code, notes, and snippets.

@richlamdev
Created July 26, 2020 19:23
Show Gist options
  • Save richlamdev/d954bfa308cac79f37d8525f015be4d1 to your computer and use it in GitHub Desktop.
Save richlamdev/d954bfa308cac79f37d8525f015be4d1 to your computer and use it in GitHub Desktop.
SSH Tunnel Example
#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