报错:
ssh: connect to host github.com port 22: Connection timed out
fatal: The remote end hung up unexpectedly
解决方法:(linux下)
cd ~
cd .ssh/
添加一个config文件,输入如下内容:
Host github.com
User xxxx@gmail.com
Port 443
Hostname ssh.github.com
identityfile ~/.ssh/id_rsa
443 端口是可以访问github的。