MongoDB Compass Configuration for 2 ssh

I have a mongo database behind of ssh proxy tunnel, how can i configure Mongodb Compass to connect it. To have ssh connection i follow this steps:

  1. Connect proxy ssh lets say 1.1.1.1 (Requires SSH Identity File with Password)
  2. Inside of this proxy server connect ssh 2.2.2.2 (No password connects directly)
1 Like