$ git pull project develop
ssh: connect to host github.com port 22: Connection timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
project中有代码更新,但是连接失败怎么解决,github中ssh码已经绑定。
官方帮助给的解决方式是使用 ssh 443端口:
1,先测试可用性
提示如下证明可用
2,然后编辑~/.ssh/config 文件,如果没有config文件的话就直接vim ~/.ssh/config加入如下内容
再次测试
提示如下即可用
3,参考github官方帮助:
https://help.github.com/artic...