Guide – How To Start – MongoDB 4.4.1 on Ubuntu 20.04 LTS on Amazon

Connecting to MongoDB on Ubuntu 20.04 using Robo 3T 1.4 through the SSH tunnel with the private key

  1. To connect to the database, you should generate a “Private Key” in .pem format in advance. You can do this using the following instruction:

Guide – How To – Create and use Key Pair to connect to a VM

  1. Go to the download page of Robo 3T v.1.4.1 – Download
  2. Download the portable(.zip) or the installer (.exe)
  1. If the portable version was downloaded, unpack the archive “robo3t-1.4.1-windows-x86_64-122dbd9.zip” and run the file robo3t.exe

    If you’ve downloaded the installer, run the file “robo3t-1.4.1-windows-x86_64-122dbd9.exe” and finish the installation process. After that open the Robo 3T app through the start menu.
  2. When you start the app, the window with the creation of the connection opens. If this did not happen, click “File” > “Connect…” in the upper right corner. 
  3. In the “Connections” window click on “Create”.
  1. In the “Connection” tab in the “Name” field name the connection in any convenient way. The other fields leave with no changes.
  2. Go to the “SSH” tab and tick the “Use SSH tunnel”.
  1. In the “SSH Address” field enter the address of the virtual machine.
  2. In the “SSH User Name” field type the username “ubuntu” to connect to the VM.
  3. In the “SSH Auth Method” field select the “Private Key”.
  4. In the “Private Key” field, specify the path to your key in .ppk format.
  5. Click “Save” to save the connection.
  6. In the Connection window select the connection you just created and click the “Connect” button.

WordPress.com.

Up ↑

%d bloggers like this: