Created
October 8, 2018 17:18
-
-
Save colehocking/a688d4f3bf06ed8293dc01cbaa1cbddd to your computer and use it in GitHub Desktop.
Proxy port 8000 for localhost browser access
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
| #/bin/bash | |
| # Make your argument: '<user>@<server>' | |
| USR_AT_SRVR="$1" | |
| ssh -D 8000 -C -N ${USR_AT_SRVR} | |
| # Now just visit your server in a web browser on port 8000 and you should have localhost access via ssh! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment