GitHub Error Message - Permission denied (publickey)
Asked 07 September, 2021
Viewed 348 times
  • 68
Votes

Anybody seen this error and know what to do?

I'm using the terminal, I'm in the root, the GitHub repository exists and I don't know what to do now.

> git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

30 Answer