DEV Community

Cover image for Error: Permission denied (publickey) [Best Solution 2022]
Adeleye Ayodeji
Adeleye Ayodeji

Posted on

4

Error: Permission denied (publickey) [Best Solution 2022]

Are you facing any issues with git authentication? this tutorial will fix your problem

https://www.youtube.com/watch?v=dxvnbKaszBw

Commands used in this video:

git config --global --unset core.excludesfile

git config --global --unset user.name
git config --global --unset user.email

git config --global user.name "adeleyeayodeji"

git config --global user.email "biodunhi@gmail.com"

ssh-keygen

//powershell

Get-Content ~/.ssh/id_rsa.pub | Set-Clipboard
Enter fullscreen mode Exit fullscreen mode

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more