SSH tunnelling and connecting to a remote database
In this video our CTO, Cristiano, shows you a neat trick called SSH tunnelling in the context of connecting to a remote database.
What is SSH tunnelling?
SSH tunnelling (also called SSH port forwarding) is a secure way to send data through an encrypted connection. Think of it as creating a private, secure pathway between your computer and a remote machine.
How does SSH tunneling work?
- You connect to a local port on your computer.
- SSH then securely forwards that connection to a remote machine.
This method is useful for accessing remote services securely, bypassing network restrictions, or securely browsing the web through a trusted server.