Friday, July 3, 2015

Permission denied (publickey) - git access denied - ssh key issue





==========================================================
$ git pull
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
==========================================================
$ ssh-add ~/.ssh/id_rsa ^C

==========================================================
$ssh-keygen
==========================================================
$cat ~/.ssh/id_rsa.pub

// copy the contents to whichever repository/
==========================================================

Now, try git pull it should work.

No comments:

Post a Comment