1
0
Fork 0
mirror of https://github.com/Studio3T/robomongo.git synced 2025-12-04 16:25:19 -05:00
2 How to use SSH port forwarding with Robo 3T
Gökhan Şimşek edited this page 2020-07-07 15:57:21 +03:00

Workaround Solution for SSH connection problems

// with password
ssh -L 27018:192.168.3.28:27017 user@192.168.3.28
(ssh -L localport:mongodb_ip:port user@ssh_server_ip)

// with private key
ssh -i temp/priv_key.pem -L 27018:192.168.3.48:27017 user@192.168.3.48
(ssh -i /path/to/private_key.pem -L localport:mongodb_ip:port user@ssh_server_ip)
// For Windows, Putty (or another SSH client) can be used with the same logic.

Go to Robo 3T, create connection with localhost:27018

(Note: No need to enable SSH on Robomongo, SSH tunnel is handled by terminal.)