Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-384

Unable to connect via SSH tunnel on Mac

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.4.0
    • Affects Version/s: 0.10.0
    • Component/s: None
    • None
    • Environment:
      Mac M1, VSCode 1.75.1, MongoDB extension v0.10.0

      Problem Statement/Rationale

      I'm trying to connect to my MongoDB via SSH tunnel. However instead I get an error:

      Unable to load connection: Error: Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR

      Steps to Reproduce

      1. Select Standalone connection type, fill in Hostname and Port.
      2. Select Authentication type Username / Password and fill the username, password and authentication database.
      3. Go to SSH Tunnel section
      4. Select Use Identity File
      5. Fill in SSH Hostname, SSH Tunnel Port, SSH Username and select SSH Identity File which is located in `<my_home_directory>/.ssh`
      6. I don't fill SSH Passphrase because I don't have any on the key that I'm using.
      7. Click Connect

      Expected Results

      I expect the connection to be successful. I double-checked all the information that I filled in and I'm sure it's correct.

      Actual Results

      I receive an error:

      Unable to load connection: Error: Error while signing data with privateKey: error:06000066:public key routines:OPENSSL_internal:DECODE_ERROR

            Assignee:
            Unassigned Unassigned
            Reporter:
            michal@artazov.cz Michal Artazov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: