无法连接github,Empty reply from server?
用hexo搭了个blog,之前一直正常,最近在deploy的时候无法连接到github了。
fatal: unable to access ‘
https://github.com/xxxxx
’: Empty reply from server.
请问这是怎么回事
小韭菜包子馅
10 years ago
Answers
撸主解决了吗?我最近也遇到这个问题了。我用ssh -T [email protected]返回是You've successfully authenticated, but GitHub does not provide shell access.但还是fatal: unable to access ' https://github.com/xxx/xxx.git/ ': Empty reply from server
能美·库特
answered 10 years ago
可参照这篇 http://segmentfault.com/q/1010000002169878
我测试了,使用ssh传输方式没问题。有可能最近github又给强了
注意:初始化git的时候,添加远程仓库的地址,选择ssh的地址
git remote add origin [email protected]:zzuhan/slider.git
飘飘飘飘飘
answered 10 years ago