Last active
August 29, 2015 13:57
-
-
Save OlivierLi/9411916 to your computer and use it in GitHub Desktop.
Connect to local service over ssh.
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
To use this on a remote server without making it listen to the wild, keep it listening on localhost only and on your computer you could for instance launch this: | |
ssh -Nf -L 9999:localhost:57575 remote-server | |
and then you can go to http://localhost:9999/ with ssh taking care the encrypted connection between you and the remote-server. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment