I'm having issues checking out code on the agent with teamcity 9.1.6. I'm using git and ssh with the ssh key being uploaded into teamcity.
If I checkout on the server, it works. If I checkout on the agent using username/password, it works. But ssh on the agent doesn't and fails with the following:
Failed to perform checkout on agent: '"C:\Program Files\Git\bin\git.exe" fetch --progress origin +refs/heads/master:refs/heads/master' command failed.
stderr: Authentication failed
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Anyone got any ideas?
Thanks.