[COMPASS-4328] Cannot connect to Replicat Set with SSH Tunnel Created: 19/Jun/20 Updated: 27/Oct/23 Resolved: 25/Jun/20 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Compass, Connectivity |
| Affects Version/s: | 1.21.0 |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Max Sommer | Assignee: | Unassigned |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Mac OS 10.15.4 |
||
| Issue Links: |
|
||||||||
| Description |
|
When selecting 'Fill in connection fields individually' and choosing 'More Options' > SSH Tunnel (Identity File) the selection for Replica Sets disappears which will not allow me to connect to my replica set via SSH tunnel. I could work around this by doing a global SSH tunnel port forwarding but this is not what I would like to do ideally. |
| Comments |
| Comment by Massimiliano Marcon [ 25/Jun/20 ] |
|
As explained in the docs, Compass cannot establish a connection to multiple servers across the same SSH tunnel. I think you might be able to connect to the replica set through a tunnel only if Compass can resolve the address of all the nodes in the replica set, although generally that is uncommon in a setup where you need an ssh tunnel to reach your MongoDB deployment. |