cmoog / vscode-sql-notebook

Open SQL files as VSCode Notebooks.
https://marketplace.visualstudio.com/items?itemName=cmoog.sqlnotebook
MIT License
129 stars 18 forks source link

Support for SSH connection #57

Closed renodesper closed 2 years ago

renodesper commented 2 years ago

Some databases are protected with a bastion server. So, I think it will be beneficial for us to add the capability to connect to the database through an SSH connection.

cmoog commented 2 years ago

I think the cleaner solution here is for the user to run a TCP port forwarding session. Then they can connect through localhost. Otherwise, we'll need to handle SSH configuration, potentially with secret values, which comes with a plethora of edge cases.