Skip to content

Error when executing git command. ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory Host key verification failed.  #174

Closed
@uchar

Description

@uchar

Recently when I use your plugin with GameCi

name: Accessing private repos
runs-on: ubuntu-latest
steps:
  - uses: actions/checkout@v2
  - uses: webfactory/ssh-agent@v0.8.0
    with:
      ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
  - uses: game-ci/unity-builder@v2
    with:
      sshAgent: ${{ env.SSH_AUTH_SOCK }}

I get this error :

Error when executing git command. ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory
    Host key verification failed.
    fatal: Could not read from remote repository.

    Please make sure you have the correct access rights
    and the repository exists.

I know GitHub recently changed its public key, but even after updating your action I'm still getting errors, How can I fix this?
related to game-ci/unity-builder#525

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions