解决方案 git@github.com出现Permission denied (publickey) 这个博客写的很清楚,但是需要注意需要进入到~/.ssh目录下 https://blog.csdn.net/xc917563264/article/details/80533734