Improve SSM Session Manager: Add SSH key injection and optimize code#654
Open
mayankgupta57 wants to merge 3 commits intotest-kitchen:mainfrom
Open
Improve SSM Session Manager: Add SSH key injection and optimize code#654mayankgupta57 wants to merge 3 commits intotest-kitchen:mainfrom
mayankgupta57 wants to merge 3 commits intotest-kitchen:mainfrom
Conversation
added 3 commits
January 23, 2026 11:54
- Add automatic SSH key injection via SSM before each connection - Reuse existing code patterns from Instance Connect implementation - Create reusable SSM command execution helper method - Optimize SSH key injection with duplicate key prevention - Update hostname to localhost when using SSM proxy command - Update documentation to reflect SSH key injection functionality
…move trailing whitespace
- Add tests for SSH key injection functionality - Add tests for SSM command execution helper - Add tests for hostname override to localhost - Add tests for InSpec override with SSH key injection - Update existing SSM tests to include new functionality
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.
Description
Please describe what this change achieves
Issues Resolved
The current implementation of ssm session manager is incomplete, it's not working, the connection get struck while using ssm:
Type of Change
Our release process assumes you are using Conventional Commit messages.
The most important prefixes you should have in mind are:
_fix_: which represents bug fixes, and correlates to a SemVer patch._feat_: which represents a new feature, and correlates to a SemVer minor._feat!_:, orfix!:,refactor!:, etc., which represent a breaking change (indicated by the !) and will result in a major version change.If you have not included a conventional commit message this can be fixed on merge.
Check List