Answer the question
In order to leave comments, you need to log in
Why do I get when working with git on windows Permission denied (publickey)?
Hello.
I can’t work with git via ssh, I generated a key, added it to github, did ssh-add.
And I still get:
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Answer the question
In order to leave comments, you need to log in
Everything is done through gitbash
1. generate the key by typing ssh-keygen and enter several times
2. add the public key to github, it is in cat ~/.ssh/id_rsa.pub
3. clone via gitbash (git clone ....)
via gitbash should work, the rest of the manipulations with the paver shell, etc., to your taste and color.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question