You can this issue with multiple tools such as - github permission denied publickey windows | gitgitlab com permission denied publickey | gitgithub com permission denied publickey fatal could not read from remote repository | git clone permission denied | git permission denied publickey bitbucket | ssh git github com permission denied publickey | permission denied publickey mac | permission denied publickey gerrit
▬▬▬▬▬▬ * Instruction's Guides * ▬▬▬▬▬▬
1. Guide -
This issue is pretty common when you are trying to clone your GitHub repo using the SSH .i.e. - git
There are a couple of ways to fix this issue -
1. Using the HTTPS URL provided by the GitHub
2. By generating the SSH public keys and uploading the public SSH keys to GitHub.
1. Using the HTTPS URL provided by the GitHub
In this approach, we are going to use the GitHub URL which starts with HTTPS for example - Using the HTTPS URL you have to provide the username and password to authenticate yourself and once you are authenticated then you can easily clone the GitHub repository.
2. By generating the SSH public keys and uploading the public SSH keys to GitHub
The second approach is a little long but it is the most recommended and secure way to clone your repository. For generating the SSH keys you need to use the ssh-keygen to generate your public SSH-key .i.e. - id_rsa.pub. After generating the ssh-key you need to upload the key to GitHub account SSH and GPG keys section.
▬▬▬▬▬▬ ️ Timestamps ️ ▬▬▬▬▬▬
0:00 - Introduction and number of ways to fix the GitHub permission denied publickey
0:52 - Using HTTPS to fix the git clone issue
3:25 - Generate SSH keys and uploading it to Github
For more details on GitHub please refer to -
To learn more on DevOps visit -
Disclaimer/Policy: All the content/instructions are solely mine. The source is completely open-source.
Video is copyrighted and can not be re-distributed on any platform.