使用ssh方式上传到github
原链接地址:http://lonewolf.me/content/2015/03/18/github-ssh.html
原创博客,转载请注明。
昨天上传东西到github的时候,又发生错误了,之前也遇到过:
unable to access 'https://github.com/xxx': Empty reply from server
网上有人说这是被“墙”的原因,可以用ssh的方式上传,于是试了一下,今天上传果然可以。
github官方也有详细的介绍 https://help.github.com/articles/generating-ssh-keys/ 以下以mac为例。
