Support for SSH Tunnel

William Nortman shared this question 1 year ago
Answered

I currently use RoboMongo for my Mongo Development work. Access to my key databases are using SSH Tunnels (My understood best practice around protecting you DB)

Comments (3)

photo
1

Hi Bill,

Thanks for trying out dbKoda! Yes, SSH tunnelling is on the roadmap. Since you asked for it, I'll try to move it into the next few sprints and make it available in a nightly release.

Can you let me know which OS you are currently using on the client side, and confirm that you are using .pem keyfiles or similar?

Thanks,

Guy!

photo
1

Hi Bill,


We are starting to work on the SSH tunnel. I wanted to check that how we are approaching it meets with your expectations.

What we will do is allow you to specify ssh credentials on the remote box as well as the mongodb port and login credentials. We will then establish an SSH tunnel to that box using code equivalent to this SSH command line:


ssh -i localkeyfile -L randomPort:remoteHost:remoteport remoteUser@remoteHost


Then we will establish a mongo connection using the randomPort created above. For a shell connection, it would be something like this:


mongo localhost:randomPort -u user -p password -etc


Is this what you were expecting?


Thanks


Guy

photo
1

Hi Bill,


SSH Tunneling features have been added in our new release of dbKoda, 0.7: https://www.dbkoda.com/blog/2017/08/31/Announcing0.7

Hopefully these additions will allow you to get the most out of the product and your database, if not, please let us know so we can improve them further.


Thanks,

Michael.