SSH Tunnels to Remote Data

The basic idea is to;

  • Use SSH port-forwarding so that local hosts actually connect to remote servers
  • Put entries in your local hosts file so that you can use correct hostnames
For example, you have a remote database that you'd normally access via the JDBC URL below, but can't because your development workstation is not the same private network.

If there's a SSH server you'd use for terminal access, you can forward the local port to the remote system.