upstream_merge: Add automated SSH setup for target-build#352
Open
jatinjb444 wants to merge 1 commit into
Open
Conversation
rajendra-desai-ni
requested changes
Jun 10, 2026
rajendra-desai-ni
left a comment
Contributor
There was a problem hiding this comment.
- This commit doesn't have a signed-off tag.
- It is better to squash the 2 commits into one to keep commit history clean.
ceb8020 to
2d188a4
Compare
Add passwordless sudo configuration Create sudoers entry for required cmds Avoid manual sudo password prompts Improve automation for CI execution Signed-off-by: Jatin Bharti <jatin.bharti@emerson.com>
2d188a4 to
b2a498d
Compare
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.
Changes
Added automated password-less SSH setup from target to build machine
Generates SSH keys on target and installs them safely on build host
Avoids duplicate key insertion with idempotent handling
Removes dependency on manual SSH configuration for script execution
Testing
Verified SSH setup runs without manual intervention after initial run
Confirmed target can SSH into build machine without password
Executed full script flow to ensure no failures in SSH stage
Validated no duplicate keys are added across multiple runs
Process
Implemented SSH automation without modifying existing core workflow
Ensured compatibility with dynamic build user handling
Maintained pipeline-safe logic without interactive input
Followed existing project structure and commit guidelines
Suggested Reviewers:
@rajendra-desai-ni