SSH Tunneling
Before SSH tunnel:
curl localhost:1337
>> curl: (7) couldn't connect to host
Creating an SSH tunnel:
ssh -NL 1337:localhost:80 username@your-remote-host
After SSH tunnel (on another terminal):
curl localhost:1337
>> <h1>Your site on the remote host</h1>
Written by Osvaldo Zonetti
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Cli
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#