Introduction
Sometimes you need to securely access a service on a remote computer that is not directly reachable. SSH tunneling lets you create a secure path through your SSH connection to forward network traffic from your local machine to the remote service.
When you want to access a database on a remote server that is blocked by a firewall.
When you need to securely browse a website through a remote server.
When you want to connect to a remote desktop or application that only listens on localhost of the remote machine.
When you want to encrypt traffic between your local machine and a remote service without changing the service itself.
When you need to bypass network restrictions by forwarding ports through an SSH server.