In Azure DevOps we have a build that is running on an Unix box. The build started to fail (see text below) and the solution was to generate new ssh keys on the Unix box (ssh –keygen) and then add them in AzDO to the Shared SSH Keys.
INFO: getting the latest code from devops site
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
remote: You are not authorized to access this collection.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
remote: You are not authorized to access this collection.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
ERROR: Could not pull latest for the master branch