git:git@github.com: Permission denied (publickey).解决访问

434 阅读1分钟

git clone失败,报错:

git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_rsa_github
ssh -T git@github.com

blog.csdn.net/qq_43768946… blog.csdn.net/weixin_4092… docs.github.com/zh/authenti… blog.csdn.net/qq_41970098…