nmilet wrote:
>
> The question now is how can I set a ssh tunnel (I try to recompile postgres
> with openssl support
> but I did not succeed), and then can I use a ssh tunnel from Java (perharps
> yes by specifying the
> port number in connection).
That's not difficult:
1.) Establish a ssh conn
Nicolas Milet wrote:
>
> Hi all,
>
> How can I connect to a remote database that is protected by a firewall. I`m
> using Java and JDBC.
> I try to sep up a SSL connection but didn't succeed.
You can open the port in the firewall (note that the world may acces your DB
now)
or use a ssh tunnel.