Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Future Consideration
Categories Compass
Created by Segev Finer
Created on Dec 31, 2025

Support SSH ProxyCommand in Compass

What problem are you trying to solve?

Focus on the what and why of the need you have, not the how you'd like it solved.

To be able to access a MongoDB instance behind a proxy tunneled SSH, for example gcloud IAP proxy.

Vanilla SSH can do this via ProxyCommand:
ProxyCommand gcloud compute start-iap-tunnel --project <project> --zone <zone> '%h' '%p' --listen-on-stdin --verbosity=warning in the SSH config or command line. (That's what gcloud compute ssh --tunnel-through-iap does behind the scenes)

And the host and port come from the Host stanza in the SSH config.

What would you like to see happen?

Describe the desired outcome or enhancement.

For Compass to support this without requiring me to manually forward SSH ports.

Either for compass to support specifying ProxyCommand and ProxyUseFdpass directly or be able to read them from the SSH config

Why is this important to you or your team?

Explain how the request adds value or solves a business need.

So I don't have to instruct team members to manually forward SSH ports when connecting with Compass or to open the SSH port to the public

What steps, if any, are you taking today to manage this problem?

Manually forwarding SSH ports in the terminal before trying to connect with compass


Similar to https://feedback.mongodb.com/ideas/CUSTOMER-I-6764, but more limited in scope to the ProxyCommand and ProxyUseFdpass.

  • Admin
    Betsy Button
    Jan 6, 2026

    Hi Segev, thanks for sharing this feedback. Have you tried using Compass' Proxy/SSH advanced connection option? Here's our documentation to help you get started: https://www.mongodb.com/docs/compass/connect/advanced-connection-options/ssh-connection/#proxy---ssh-tunnel-connection-tab


    If you have already tried this approach and something was missing, please let me know what is missing for your use case.