9/10/2023 0 Comments Gerrit git sourcetreeI was relying on the Windows ssh-agent service to store my ssh key passphrases, so git (with it's separate version of openssh) couldn't read my private keys. I eventually figured out that the problem is that Git for Windows, and Windows, both have their own versions of openssh. Please make sure you have the correct access rights I was receiving the Permission denied (public key) error when trying to clone or pull from github and, and I'd followed all the instructions and verified that my SSH keys were setup correctly (from SSH's standpoint) using ssh -vT and ssh -vT And was still getting these errors: Permission denied (publickey).įatal: Could not read from remote repository. Git may be using a different openssh executable than you think it is. determine which corresponding private key must be associated from your local computerĪnother possibility on Windows, which is not covered in any of these answers, and is not covered in the git or github docs on troubleshooting:.check which key have been authorized on your github or gitlab account settings.If the user has generated a ssh public/private key pair set before That's it you should be good to clone and checkout.įurther information can be found at (thanks to Whitney) git config -global user.email forget to restart your command line to make sure the config is reloaded).Add your key to your account via the website.On Windows (Powershell) run: Get-Content id_rsa.pub | Set-Clipboard (Thx to elenzil).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |