aspose file tools*
The moose likes JDBC and the fly likes JDBC via SSH ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC via SSH ? " Watch "JDBC via SSH ? " New topic
Author

JDBC via SSH ?

jay vas
Ranch Hand

Joined: Aug 30, 2005
Posts: 407
Hi : Is it possible to use connect to a remote database
via jdbc using ssh ? If so, how ? Im only familiar with
the url/user/password jdbc configuration parameters - what can
be done to tell the driver to use an ssh connection ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31074
    
232

Jay,
I haven't done this, but I would guess the database driver would need to support it. Since the driver is actually creating the connections to the remote db, it would have to provide some mechansim.

Have you looked at your database vendor's drivers or third party commercial drivers yet for this feature?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Scott Johnson
Ranch Hand

Joined: Aug 24, 2005
Posts: 518
You can setup an encrypted tunnel using openssl.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC via SSH ?