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)
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands.
Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands.
Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.: