Github

GitHub Error Message — Permission denied (public key)

Permission denied (public key) fatal: Could not read from remote repository Show git Error.

Rajdeep Singh
FrontEnd web

--

Github Error Message — permission denied (public key)
Github Error Message — permission denied (public key)

In This Post, I'm Told and Help you. How to Resolve this Error Permission denied (public key).

Why Show Error?

Mostly commonly show an Error when we use after a long time Bash || Git so in that case, we offer an Error. Handle that Error. Create New SSH KEY for Github.

Look Like

Permission denied (public key)

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. Then open bash Terminal on your laptop || desktop.

Open Bash
Open Bash

Run Command

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

Command
Paste
your bash terminal

ssh-keygen  // copy that past in bash cmd terminal
ssh-agent // that command tell you active connection list and some SSH key information
ssh-agent tell you active connection
Download SSH Key For GitHub

Go to Github

First, open GitHub on your browser and click the setting tab. After scrolling down, select SSH and GPG key tab and click after opening the new ssh key page on Github. It gives a simple Tittle or project name; past your ssh key, click the add ssh key button.

Note

Copy only the .pub Extention File and paste it on Github key tab.

Add SSH key On Github

Youtube

Watch the video for more info

Read On Medium

Reference

Conclusion

I hope you understand how to resolve that Error Message — Permission denied (public key). Suppose there are Any queries, mistakes, and Suggestions. Then, please, tell me in the comment box.

Contact me

Thanks for Reading

--

--

Rajdeep Singh
FrontEnd web

JavaScript | TypeScript | Reactjs | Nextjs | Rust | Biotechnology | Bioinformatic | Frontend Developer | Author | https://linktr.ee/officialrajdeepsingh