Git Github

How to solve Permission denied (publickey) error when using Git?

Pinterest LinkedIn Tumblr

First you’ll want to cd into your .ssh directory. Open up the terminal and run:

 cd ~/.ssh && ssh-keygen

Next you need to copy this to your clipboard.
On OS X run:

cat id_rsa.pub | pbcopy

Write A Comment

Open chat
Hey Visitor,

How can I help you?