How use mongodb Compass remotely

I have a mongodb in a docker on a server accessible from the outside (in ssh).
How I should use MongoDb Compass to administer my database


Hi @mathias_drapier, have you set the SSH Tunnel option based on how you SSH into your Docker container?

NOTE, there have been reports that SSH Tunneling for Compass 1.21.0 is not working, but appears to be fixed in 1.21.2. Make sure you’re on the latest version of Compass to avoid issues.

1 Like