Using the steps outlined here I lifted and shifted our Jenkins instance from one windows machine to another windows machine.
Jenkins on the new server launches successfully.
However, the integration with GitHub on all the projects is failing with the following error.
Failed to connect to repository : Command "git.exe ls-remote -h git@github.com:some_repo_name.git HEAD" returned status code 128: stdout: stderr: some_user@github.com: Permission denied (publickey). fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
What have I done wrong?