I would like to know how can you connect to postgresql in these conditions:
- allow you to access them from any location (do IP filtering)
- safe connection (no risk on having your password captured)
- easy to setup, preferably having to configure only the server for that.
I know that the recommended approach is to used SSH port forwarding, but this requires you to start the port forwarding before trying to connect to these databases.
What is the easiest method to acquire a good enough security without having to do complex setup on the client.
Is there a way to auto enable the port forwarding stuff on demand?