Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6677

Can't connect with ssh tunnel to mongodb on EC2

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • Environment:
      OS: MacOS X 13.1
      node.js / npm versions: Using prebuilt arm version
      Additional info:
    • Not Needed

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Please be sure to attach relevant logs with any sensitive data redacted.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      I have an EC2 machine t4g.small with rocky linux installed

      Mongo database is running on podman mapped to port 44444 on machine with auth set up

      Expected Results

      What do you expect to happen?

      MongoDB compass can connect to machine with ssh and then to mongo database

      Actual Results

      What do you observe is happening?

      MongoDB compass can't connect to machine.

      Additional Notes

      Any additional information that may be useful to include.

      I can connect to database from machine with mongosh with same credentials. Jetbrains Datagrip or studio 3t can connect using the ssh.

       

      Log log.txt

      Logs from machine secure:

      Mar 29 22:11:43 ip-172-31-19-204 sshd[249648]: Received disconnect from 89.151.35.183 port 51378:11:  [preauth]
      Mar 29 22:11:43 ip-172-31-19-204 sshd[249648]: Disconnected from authenticating user rocky 89.151.35.183 port 51378 [preauth]
      Mar 29 22:12:10 ip-172-31-19-204 sshd[249650]: Received disconnect from 89.151.35.183 port 20259:11:  [preauth]
      Mar 29 22:12:10 ip-172-31-19-204 sshd[249650]: Disconnected from authenticating user rocky 89.151.35.183 port 20259 [preauth] 

       

       

       

        1. log.txt
          5 kB
          Mateusz Tomkowiak

            Assignee:
            Unassigned Unassigned
            Reporter:
            matixnt1@windowslive.com Mateusz Tomkowiak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: