Great extension!
A common solution for production environments is to require a connection over an SSH tunnel. It is possible to achieve this by opening the tunnel on the command-line and then creating the DB connection to connect to localhost and whatever port has been used for the near end of the tunnel. However, it would be far more convenient to specify the tunnel as part of the DB connection (and so have SQLTools manage opening and closing the tunnel).
Most any other database UIs support this - for example, see the UI in Valentina Studio for a free example.
+1 votes
Hey guys, that's something I really want to do, but still have to work in some stuff before that.
Since we have native tunnels as a workaround, I don't consider this high priority for now. See https://github.com/mtxr/vscode-sqltools/issues/230#issuecomment-494624547
I won't close this because I feel we are close to work on this now. But for now, please, try using native tunnels, ok?
+1
+1
+1
This would be much appreciated. Also have there been any progress or good news for us @mtxr 馃槃 ?
FYI: at least for Postgres you can do this via the native driver, you'll need to edit the connection in settings.json to add a section like this
"pgOptions": {
"native": true,
"ssl": { "rejectUnauthorized": false }
}
(ssl can just be true as well, but those settings are what I use to connect to a DB on Heroku)
I won't close this because I feel we are close to work on this now. But for now, please, try using native tunnels, ok?
Hi @mtxr, what is the status on this?
Most helpful comment
+1 votes