ssh -N -L 8080:localhost:80 user@host
Category: SSH & Remote
ssh -N -L 8080:localhost:80 user@host
Local port forwarding: tunnel local 8080 to remote port 80
Creates a secure tunnel: traffic to your local port 8080 is forwarded through the SSH connection to port 80 on the remote server.