Atom git-pull插件 git push报错 permission denied (publickey)

搞了很久,试了很多办法,最后也不知道是哪一步解决的,总结如下:

插件设置里面   git路径   C:UsersyouruserAppDataLocalGitHubPortableGit_25d850739bc178b2eb13c3e2a9faafea2f9143c0cmdgit.exe

c:user.ssh下面的github_rsa  id_rsa 都添加到github网站设置中

另外 修改ssh_config

C:UserspengtelingAppDataLocalGitHubPortableGit_25d850739bc178b2eb13c3e2a9faafea2f9143c0etcssh

IdentityFile=~/.ssh/github_rsa

过程中重新生成了id_rsa 删除github_rsa重新生成也试过

终于好了。。。。

原文地址:https://www.cnblogs.com/henshui/p/6729596.html