[COMPASS-6648] SSH tunneling does not work with Amazon Linux 2023 AMI Created: 24/Mar/23  Updated: 29/Oct/23  Resolved: 04/May/23

Status: Closed
Project: Compass
Component/s: Connectivity
Affects Version/s: 1.36.1
Fix Version/s: 1.37.0

Type: Bug Priority: Major - P3
Reporter: Danial Saleem Assignee: Le Roux Bodenstein
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS: M1 13.2.1 (22D68)
node.js / npm versions: v14.17.4, 8.5.1


Issue Links:
Related
related to COMPASS-6674 Update ssh2 in Compass Closed
Documentation Changes: Not Needed
Sprint: Iteration Ankylosaurus

 Description   

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

Create an Amazon 2023 Linux AMI based ec2 instance.

Try to use this instance as an ssh tunnel by using SSH with identity file option.

 

Expected Results

The connection is established. Used to work with the older Amazon Linux 2 AMIs.

Actual Results

I get the error: ssh tunnel All configured authentication methods failed

Additional Notes

Probably has something to do with an update to the kernel. The same issue occurred with dbeaver :https://github.com/dbeaver/dbeaver/issues/14749



 Comments   
Comment by Githook User [ 08/May/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: bump ssh2 to v1.12 COMPASS-6648 (#4326)

bump ssh2 to v1.12
Branch: bump-ejson-shell-parser-1.2.4
https://github.com/mongodb-js/compass/commit/931cb6ce2b0c8593f3728f1fa29604933b3b32e1

Comment by Githook User [ 05/May/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: bump ssh2 to v1.12 COMPASS-6648 (#4326)

bump ssh2 to v1.12
Branch: COMPASS-6611-export-json-types
https://github.com/mongodb-js/compass/commit/931cb6ce2b0c8593f3728f1fa29604933b3b32e1

Comment by Githook User [ 04/May/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: bump ssh2 to v1.12 COMPASS-6648 (#4326)

bump ssh2 to v1.12
Branch: COMPASS-5583-use-aggregation-collStats-currentOp
https://github.com/mongodb-js/compass/commit/931cb6ce2b0c8593f3728f1fa29604933b3b32e1

Comment by Githook User [ 04/May/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: bump ssh2 to v1.12 COMPASS-6648 (#4326)

bump ssh2 to v1.12
Branch: ci/update-electron
https://github.com/mongodb-js/compass/commit/931cb6ce2b0c8593f3728f1fa29604933b3b32e1

Comment by Githook User [ 04/May/23 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: bump ssh2 to v1.12 COMPASS-6648 (#4326)

bump ssh2 to v1.12
Branch: main
https://github.com/mongodb-js/compass/commit/931cb6ce2b0c8593f3728f1fa29604933b3b32e1

Comment by Anna Henningsen [ 05/Apr/23 ]

Some findings:

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