feat(emr): Improve SSH host key verification with accept-new#10390
Merged
Conversation
Contributor
|
Looks like CI's failing on this. Could you check the failed jobs and push a fix? |
dfb43a7 to
88ac1e9
Compare
EMR SSH/SCP helper commands (ssh, socks, put, get) now default to StrictHostKeyChecking=accept-new for improved host key verification. Uses ssh -G probe to detect support; falls back to =no with warning on OpenSSH < 7.6. New --ssh-options parameter allows passing arbitrary SSH options (space-separated) to override defaults. This provides an escape hatch for legacy clients and addresses aws#1799. References: P413905599, V2174489182
88ac1e9 to
a89ae39
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #10390 +/- ##
===========================================
+ Coverage 93.39% 93.61% +0.22%
===========================================
Files 210 211 +1
Lines 17052 17358 +306
===========================================
+ Hits 15925 16249 +324
+ Misses 1127 1109 -18 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
aws-sdk-python-automation
added a commit
that referenced
this pull request
Jun 11, 2026
* release-1.45.28: Bumping version to 1.45.28 Update changelog based on model updates Merge customizations for EKS feat(emr): Improve SSH host key verification with accept-new (#10390)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EMR SSH/SCP helper commands (ssh, socks, put, get) now default to StrictHostKeyChecking=accept-new for improved host key verification. Uses ssh -G probe to detect support; falls back to =no with warning on OpenSSH < 7.6.
New --ssh-options parameter allows passing arbitrary SSH options (space-separated) to override defaults. This provides an escape hatch for legacy clients and addresses #1799.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.