问题
I have created a deploy key (like so), and added the deploy key on github
But when I go to push to the repo, I see
ERROR: Permission to stevecondylios/cran-libraries.git denied to deploy key
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Notes
- Keys are saved in
C:\Users\Administrator\.ssh
- Windows Server 2019
- Repo is public, the purpose of the deploy key is for write access
来源:https://stackoverflow.com/questions/58416318/how-to-push-to-github-using-deploy-key-on-windows