Forward remote ssh port

ssh user@10.99.99.99 -L 0.0.0.0:3333:10.99.99.99:22

This command connects to user at 10.99.99.99. Then, it connects to the local port 22 on 10.99.99.99, and makes it accessible for the remote host at port 3333.

Optionally, the argument ‘-N’ can be supplied, to avoid creating a login shell.