danvergara / dblab

The database client every command line junkie deserves.
MIT License
1.91k stars 48 forks source link

[FEATURE] SSH tunnel support #205

Open mhammerly opened 3 weeks ago

mhammerly commented 3 weeks ago

Most databases I want to connect to are only reachable with an SSH tunnel through a bastion server. Some database clients (DBeaver, DataGrip, pgcli off the top of my head) support setting up tunnels in their config and it'd be nice if dblab did as well.

drakythe commented 3 weeks ago

+1 to this. I make use of SequelAce usually but I'd love to have DBLab as an alternative for when I'm in a terminal scenario and don't have a GUI. I was just reviewing all the docs to see if this was supported and can't find any mention of "proxy" "tunnel" or "ssh".

danvergara commented 3 weeks ago

@mhammerly Thanks for bringing this to my attention. Can't promise to work on this right away, because I have other issues with higher priority, but I've been doing my best to address users' requests lately.

mhammerly commented 3 weeks ago

whenever you get around to it (if you can at all), thanks! just made an issue to give myself and others a place to subscribe

dblab looks cool, may write a little wrapper script so i can try it out in the meantime!

janpieper commented 2 weeks ago

Really looking forward to have SSH tunneling built in 👍

I am not a golang developer, but I could have a look into this. Would only need to know if there is a good package for it 😉

grindarius commented 1 week ago

DBLAB looks really cool. I am really looking forward to have this built in as well 👍🏽