Reputation: 95
Im trying to clone a project from git hub to my server and getting this error when trying to clone a project.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
command: git clone [email protected]:user_name/project_name.git
I looked at the web and says that I need to generate public key and insert it to my project sorry do you know tutorials on how to do that.
Upvotes: 1
Views: 947
Reputation: 717
The github help pages tell you all about :
Right there : https://help.github.com/articles/generating-ssh-keys Have fun !
SSH key pairs are a very important authentication mechanism, you should definitely check it out at some point. :)
Upvotes: 1