How to use SSH port forwarding with Robo 3T - Studio3T/robomongo GitHub Wiki

Workaround Solution for SSH connection problems

// with password
ssh -L 27018:192.168.3.28:27017 [email protected]
(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 [email protected]
(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.)