• Post Reply Bookmark Topic Watch Topic
  • New Topic

JDBC via SSH ?

 
jay vas
Ranch Hand
Posts: 407
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Sheriff
Posts: 36027
431
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Scott Johnson
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can setup an encrypted tunnel using openssl.
 
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!