I have the following situation:
- My VPS can access PostgreSQL on another machine
- My Linux laptop can't access the same PostgreSQL server for authentication reasons that shouldn't matter (I can't change anything about the setup)
- My laptop has full access to the VPS
Let's say the PostgreSQL host is pg.some.domain. Can I somehow use the VPS as a proxy so that I can connect to pg.some.domain from my laptop? I vaguely remember doing this using some easy-to-use CLI tool but now I can't find it after a lengthy Google session.