GitHub Error Message — Permission denied (publickey)

GitHub Error Message — Permission denied (publickey)

permission denied (publickey) fatal: Could not read from remote repository Show git Error

Image for postGithub Error Message ? permission denied (publickey) by Rajdeep Singh

Hey, My Name Rajdeep Singh. In This Post, I?m Told and Help you. how to Resolve this Error Permission denied (publickey).

Why Show Error?

Mostly commonly show Error when we use after long time Bash || Git so that case we show an Error. handle that Error create New SSH KEY for Github

Look Like

Image for postPermission denied (publickey)

Let?s Start It?

  1. Open Bash
  2. Run Command
  3. Go to Github

Open Bash:

Desktop Home > Click Right key On Mouse( Laptop pad Right Key) after the open menu selects Git bash here. than open bash Terminal on your laptop || desktop.

Open BashOpen Bash

Run Command:

Go To your bash terminal on your laptop after copy past or write a new command in a terminal to generate an SSH key for your Github.

Command:Paste your bash terminal

ssh-keygen // copy that past in bash cmd terminalssh-agent // that command tell you active connection list and some SSH key informationImage for postssh-agent tell you active connection

Generating a new SSH key and adding it to the ssh-agent

After you’ve checked for existing SSH keys, you can generate a new SSH key to use for authentication, then add it to?

help.github.com

Image for postDownload SSH Key For GitHub

Go to Github:

first, open GitHub on your browser and click setting tab after scroll down select SSH and GPG key tab and click after open new ssh key page on Github gives simple Tittle or project name and past your ssh key click add ssh key button.

Note:

Copy only .pub Extention File and paste on Github key Tab.

Image for postAdd SSH key On Github

Youtube:

watch the video for more Info

Read On Medium:

Javascript Symbols?

Hey, My name Rajdeep Singh ? in this post we learn javascript symbols.

medium.com

Bootstrap is bad?

Hey, My Name Is Rajdeep Singh. In this post, I?m telling you why bootstrap so bad ? for our project and give you a big?

medium.com

Reference:

  • https://git-scm.com/doc
  • https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
  • https://help.github.com/en/github/authenticating-to-github/error-permission-denied-publickey

Conclusion:

I hope you understand who to resolve that Error Message ? Permission denied (publickey). If Any query, mistake, and Suggestion plz tell me in the comment box.

Contact me ?

  • https://www.facebook.com/officialrajdeepsingh/
  • https://www.rajdeepsingh.dev/about-me/
  • https://www.facebook.com/groups/JavaScriptcode/
  • https://www.facebook.com/groups/pythoncodejoin/
  • [email protected]

Thanks for Reading ?

30