SSH database configuration

Why don’t you use ssh port forwarding or a reverse ssh tunnel (depending on your needs). Make sure the tunnel is created at startup.

Reverse SSH tunneling can be a very interesting solution if the target server is behind a firewall. I’m using autossh to tunnel some of our customers’ pcs to our server and it works just great (autossh will restore the ssh tunnel if the connection drops etc.).

You can then just connect to 127.0.0.1 on a port of your preference.

Lots of articles on ssh port forwarding around the net: http://www.google.com/search?client=safari&rls=en&q=ssh+port+forwarding&ie=UTF-8&oe=UTF-8

Reverse ssh tunneling: http://www.google.com/search?client=safari&rls=en&q=reverse+ssh+tunneling+autossh&ie=UTF-8&oe=UTF-8

Best regards

Peter De Berdt