One of the beauties of the OpenSSH suite tools is that you can connect to remote host from your localhost by creating a secure connection through both ends.
Let’s say you want to “tunnel” mail from your laptop to your remote mail server…
ssh -l user -L 110:mailhost:110 -N mailhost
Specifies that the given port on the local host is to be forwarded to the given host and port on the remote side (-L).
The -l switch specifies a login name and -N avoids the execution of a remote command.