This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 186536 - Add connection via SSH Tunnel
Summary: Add connection via SSH Tunnel
Status: NEW
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: PC Other
: P3 normal with 4 votes (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
: 155357 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-05-22 10:26 UTC by nbphpuser
Modified: 2013-09-04 11:23 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nbphpuser 2010-05-22 10:26:40 UTC
It's not possible to connect via ssh to remote database
Comment 1 matthias42 2011-10-27 21:32:07 UTC
The interesting question: Is there a generic way to do this? Maybe there needs to be a way to allow additional actions before/after a/the first connection was made.

Background: For mysql exists a replacement SocketFactory implementation, that uses jsch to create a tunnel. But this is not too stable.

The alternative: Use JSCH to create a generic tcp Tunnel to access the db - but then the jdbc URL has to be changed - and: How should this be shown in the GUI?
Comment 2 josser 2011-10-27 22:04:40 UTC
About GUI question, please, take a look at http://www.sequelpro.com/docs/Set_up_an_SSH_Tunnel
Comment 4 matthias42 2013-03-17 22:18:03 UTC
*** Bug 155357 has been marked as a duplicate of this bug. ***