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 Submitted
Categories Compass
Created by Guest
Created on Jul 15, 2022

SSH private key - Ask for passphrase each time

I would like to be able to enter the SSH private key passphrase every time I connect to the DB like in NoSQLBooster or Robo 3T.
  • Guest
    Sep 22, 2025
    Yess! Never seen something like this before. Why would I want to store my passphrase on my filesystem? And next to the link to my ssh key?! Definitely an unnecessary security risk. At least the passwords are basically encrypted when stored. (connectionSecrets: 'encrypted-password' in source code) Excerpt from connection file: "sshTunnel": { "host": "domain.example", "port": 22, "username": "foo", "identityKeyFile": "/home/bar/.ssh/id_rsa" } When exporting connections, it stores the key in plaintext: "identityKeyPassphrase": "MyPersonalTestPassphrase"