ssh -L [LOCAL_IP:]LOCAL_PORT:DESTINATION:DESTINATION_PORT [USER@]SSH_SERVER
The options used are as follows:
[LOCAL_IP:]LOCAL_PORT - The local machine IP address and port number. When LOCAL_IP is omitted, the ssh client binds on the localhost
[LOCAL_IP:]LOCAL_PORT
LOCAL_IP
DESTINATION:DESTINATION_PORT - The IP or hostname, and the port of the destination machine
DESTINATION:DESTINATION_PORT
[USER@]SERVER_IP - The remote SSH user and server IP address
[USER@]SERVER_IP