SSH Tunneling #56
Replies: 5 comments 1 reply
-
Example of ssh jump
|
Beta Was this translation helpful? Give feedback.
-
I agree, built in ssh tunelling would be useful and really nice. I'm not entirely sure what do you mean with the .ssh config file though. If I understand correctly, yoj want to specify a tunnel in the config file and then dbee would fire up the tunnel based on that connection? How do you see the interface in dbee to look like? Would something like this work for you:
I also don't know a lot about using ssh with go, so I'm not sure how easy it would be to parse the ssh config file (I don't think implementing our own parser is a good idea) |
Beta Was this translation helpful? Give feedback.
-
I think stage one is will be enough to add argument as you mention or in database client definition ssh: dev-jump ( do search based Host dev-jump in ~/.ssh/config Example
New Connection string
|
Beta Was this translation helpful? Give feedback.
-
Go ssh
|
Beta Was this translation helpful? Give feedback.
-
I guess it would make sense to look how other database clients do these things as well |
Beta Was this translation helpful? Give feedback.
-
Hello Everyone,
Idea is add ability to define SSH tunnel for database connectivity based on ~/ssh/config or /etc/ssh (linux|mac)
Some time direct ports not available and require ssh.
Beta Was this translation helpful? Give feedback.
All reactions