DEV Community

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

Posted on

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)