Install MongoDB Compass
On the Authentication tab, select the Username/Password method:
Username: govstack
Password: P@ssw00rd!
Under Proxy/SSH tab choose SSH with identity File:
SSH Hostname: Select the appropriate address for the database to which you want to connect
SSH Port: 22
SSH Username: Ubuntu
SSH Identity File: Use the right key with which you connect to the database
Connect do the database
It should look like this: (The URL will complete itself as you fill in the following information.)