SSH create tunnel with key

Is there a way to create an SSH tunnel with a separate key?

Hi John,

Can I assume that you are referring to a private key? You can choose this option in the Connection> SSH> SSH Auth Mode dropdown if so. If not however, please let us know with more detail so we can examine this more and assist you.

Screenshot 2024-05-08 at 11.26.22

Hi Yvonne,
This is what I have to do to get to my mongoDB with our security policies.

Local PC → Server A → Server B → MongoDB

Server A Security
Private Key
Login
Password

Server B Security
Private Key

A mess isnt it - lol

I appreciate any help you can provide.

Thanks,
John

Hi John, it should be doable (so long as your network already allows it that is), but only if the private key is the same. We only have one slot for private keys in Studio 3T.

Ok cool - how would I set that up in Studio3t?

Thanks,
John

Sorry for the delay. You would simply need to make sure that the SSH private keys are identical and then add the private key under the SSH tab in the connection configuration window in Studio 3T. The rest would need to be configured accordingly, outside of Studio 3T, in which your networking team should be able to help you.

1 Like