mingo-app / mingo

Found a bug? have a FR ?
60 stars 2 forks source link

Cannot connect to MongoDB over SSH on Win11 #647

Open kb-konsultit opened 3 months ago

kb-konsultit commented 3 months ago

Describe the bug I have setup a connection to connect to a remote instance via SSH using private key and pass phrase. If i add e.g. a letter to the file name - i says it cannot locate the file. So file exists and it can open it.

Files and server works - with same details i can connect using MongoDB Compass.

From the SSH log on the server

[Compass] Aug 11 21:39:35 test-mqtt-1 sshd[3126]: Accepted publickey for user-kb from x.x.x.x port 1047 ssh2: RSA SHA256:{fingerprint} Aug 11 21:39:35 test-mqtt-1 sshd[3126]: pam_unix(sshd:session): session opened for user user-kb(uid=1002) by (uid=0) Aug 11 21:39:35 test-mqtt-1 sshd[3126]: pam_env(sshd:session): deprecated reading of user environment enabled

[Mingo] Aug 11 21:40:25 test-mqtt-1 sshd[3154]: userauth_pubkey: signature algorithm ssh-rsa not in PubkeyAcceptedAlgorithms [preauth] Aug 11 21:40:25 test-mqtt-1 sshd[3154]: Received disconnect from x.x.x.x port 1067:11: [preauth] Aug 11 21:40:25 test-mqtt-1 sshd[3154]: Disconnected from authenticating user user-kb x.x.x.x port 1067 [preauth]

Log from UI: Creating new tunnel, aebd41c0b0f5fa94f5e5c8a70373fc1a
SSH Tunnel error:, Error: All configured authentication methods failed

Desktop (please complete the following information):