eks-anywhere icon indicating copy to clipboard operation
eks-anywhere copied to clipboard

Setting the right permission for ssh config

Open hitsub2 opened this issue 1 year ago • 2 comments

Issue #, if available:

Description of changes: By creating the ssh config file, we should set the correct permission for this file, otherwise, the below error would come up with:

*********************************************************
    qemu: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Bad owner or permissions on /home/image-builder/.ssh/config", "unreachable": true}
    qemu:
    qemu: PLAY RECAP 

Testing (if applicable): Yes Documentation added/planned (if applicable):

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

hitsub2 avatar Jan 25 '24 02:01 hitsub2

Hi @hitsub2. Thanks for your PR.

I'm waiting for a aws member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

eks-distro-bot avatar Jan 25 '24 02:01 eks-distro-bot

/lgtm /approve /ok-to-test

abhay-krishna avatar Mar 10 '24 01:03 abhay-krishna

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhay-krishna

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

eks-distro-bot avatar Mar 10 '24 01:03 eks-distro-bot

/cherrypick release-0.19

abhay-krishna avatar Mar 10 '24 05:03 abhay-krishna

@abhay-krishna: new pull request created: #7817

In response to this:

/cherrypick release-0.19

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

eks-distro-pr-bot avatar Mar 10 '24 05:03 eks-distro-pr-bot