git@github.com: Permission denied (publickey)

--

In this tutorial im going to setup ssh key on linux.

Error :-

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

Solutions:-

ssh-keygen

Next go to below path

/root/.ssh/id_ed25519.pub

Copy below public key

Click on new ssh key and put there

Now successfully configure with Linux now you can git clone using ssh-key

--

--

Amit Kumar Thakur
Amit Kumar Thakur

Written by Amit Kumar Thakur

Hi I am Amit Experienced Web Developer with a demonstrated history of working in the information technology and services industry.

No responses yet