jenkins配置Git Credentials时报错:Failed to connect to repository Command "git ls-remote..." returned status code 128
jenkins配置Git Credentials时报错:Failed to connect to repository : Command "git ls-remote -h -- git@github.com:testuser/myproject.git HEAD" returned status code 128:
stdout:
stderr: Load key "/Users/Shared/Jenkins/tmp/ssh3293544818084800743.key": invalid format
git@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.