Posts about DataGrip

Database connections over SSH

April 7th 2023 SSH DataGrip

In practice, it is not uncommon to have access to only a few ports on a server. If that is the case, the database port is probably not one of them. However, you can still connect to the database as long as you have SSH access to the server. To do this, you need to set up an SSH tunnel.