Skip to content

getKeyFile error: open key.pem: permission denied #312

Open
@lmilbaum

Description

The step in the workflow:

     - name: provisioning test environment
        uses: appleboy/[email protected]
        with:
          host: ${{ steps.host.outputs.host }}
          username: fedora
          key_path: key.pem
          script: provision.sh

But, the following does work:

    - run: |
          ssh -T -o StrictHostKeyChecking=no -i key.pem fedora@${{ steps.host.outputs.host }} bash -c ls

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions