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
Written by crd
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ssh
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#