Hello All,
I would like to issue a git pull as part of a rundeck job but getting errors no matter what.
Has anyone done this before?
i have an .ssh/config file and a key set up in /var/lib/rundeck but still getting the following error when runing a job to do a git pull.
Job definition:
git -C /opt/my-folder pull
/var/lib/rundeck.ssh/config:
IdentityFile /var/lib/rundeck/.ssh/rundeck-key.pem
IdentitiesOnly yes
These credentials work with a different user using the same ssh config and key.
Error:
| Host key verification failed. |
| 15:19:36 | | | fatal: Could not read from remote repository. |
| 15:19:36 | | |
|
| 15:19:36 | | | Please make sure you have the correct access rights |
| 15:19:36 | | | and the repository exists. |