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.
It's not possible to connect via ssh to remote database
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?
About GUI question, please, take a look at http://www.sequelpro.com/docs/Set_up_an_SSH_Tunnel
Navicat does it nice: http://www.navicat.de/manual/online_manual/en/navicat/win_manual/index.html Screenshot: http://www.sitepoint.com/blogs/wp-content/uploads/2009/03/017-mysql-connect.png
*** Bug 155357 has been marked as a duplicate of this bug. ***