Syntax:
ssh -L localport:host:hostport user@ssh_server -N
where:
- -L - port forwarding parameters (see below)
- localport - local port (chose a port that is not in use by other service)
- host - server that has the port (hostport) that you want to forward
- hostport - remote port