Error:How to solve Permission denied (publickey) error when using Git
git-how-to-solve-permission-denied-publickey-error-when-using-git
git-how-to-solve-permission-denied-publickey-error-when-using-git
Cloning into 'Rakesh-repository'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
solution:
run commands
tail ~/.ssh/id_rsa
===========OR===================
/root/.ssh
vi id_rsa.pub
copy and paste
go to github==> setting===>ssh and gpg key
and paste here
Top comments (0)