Tunelamento SSH

Antes do túnel SSH:

curl localhost:1337

>> curl: (7) couldn't connect to host

Criando um túnel SSH:

ssh -NL 1337:localhost:80 username@your-remote-host

Após o túnel SSH (em outro terminal):

curl localhost:1337

>> <h1>Your site on the remote host</h1>