Last Updated: May 11, 2017
· crd

Building an ssh tunnel through a bastion host

For whatever reason, pgadmin is pretty awful at maintaining ssh tunnels in my environment. To solve this I built my own artisanal tunnel by hand and used that instead:

$ ssh -L 54320:postgres.database.example.org:5432 bastion.host.example.org -N
Filed Under