Our database server is not accessible directly. You have to SSH into a login server and then SSH into the db server. I have been using putty as my ssh client to create single tunnels so I can admin databases but in this case, I need to tunnel and then tunnel again. I am not well versed on the command line syntax of SSH tunneling.
What I want is to create a tunnel through putty
15432:localhost15432 which pipes to a tunnel on the db server 15432:localhost:5432 to I can use a GUI admin tool on windows to admin a linux PSQL install over two hops via SSH.
Please provide step by and command line examples. Thanks (This is on CentOS if that matters)