[COMPASS-4473] SSH tunnel not working with passphrase Created: 21/Oct/20  Updated: 29/Oct/23  Resolved: 18/Nov/20

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: None
Fix Version/s: 1.24.1

Type: Bug Priority: Major - P3
Reporter: Maurizio Casimirri Assignee: Michael Rose (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2020-10-21-19-40-20-646.png    
Epic Link: COMPASS-4362
Story Points: 5
Documentation Changes: Not Needed

 Description   

When using an identity key with passphrase compass throws an error. Do not know if is only with some specific encryption setup or always.

To reproduce use the docker images in compass. Try to connect with identity key using the 'keys/key-with-passphrase' key. See README in the docker/ssh folder.

From command line everything works correctly:

ssh -i keys/key-with-passphrase root@localhost -p 22222



 Comments   
Comment by Githook User [ 13/Nov/20 ]

Author:

{'name': 'Michael Rose', 'email': 'michael_rose@gmx.de', 'username': 'rose-m'}

Message: fix: Ensure error thrown on connect is forwarded COMPASS-4473 (#328)
Branch: master
https://github.com/mongodb-js/connection-model/commit/35f9aa7b1326ae16ed8cef6ba647b755e5f146c9

Generated at Wed Feb 07 22:36:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.