So, I have a git repo at Bitbucket that I need to check for, in order to run a job. The repo is available and accessible, and I can clone it locally using the ‘git clone email@example.com:company/repo.git’ using the SSH keys I have . When I try to set it up as a Concourse resource, I get this error message:
resource script ‘/opt/resource/check ’ failed: exit status 128
Cloning into ‘/tmp/git-resource-repo-cache’…
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Here is my resource definition:
--- resources: - name: dc type: git source: branch: master uri: firstname.lastname@example.org:<company>/<repo>.git
What am I doing wrong?