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

Summary: Add connection via SSH Tunnel
Product: db Reporter: nbphpuser <nbphpuser>
Component: SQL EditorAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: fredgarlov00, matthias42, romanmostyka
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

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. ***