简体   繁体   中英

Error pushing project to existing repo-> Permission denied (publickey) - fatal: Could not read from remote repository

When I push my project files on my local machine to online repository, it gives me the following error:

Permission denied (publickey) - fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

I also tried this but to no avail. Does anyone know what might be the root cause?

The Permission denied (publickey) error means that the server rejected your connection. There could be several reasons .

  • correct key
  • corect server
  • correct user
  • ...

The must commun reason is that you dont have deployed your ssh key in github server . So check the server , also you need to check your .ssh if your ssh keys are in it .

for other probelms you can check this link : https://help.github.com/articles/error-permission-denied-publickey/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM