$ 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码已经绑定。
First check if there is a network problem. If the network is not good, connecting to Github in China will often time out.
If it is not a network problem, if it is installed
Github desktop
可以先打开下,然后在git pull
.Github often suffers from convulsions in China, just try it more.
Or you can buy a VPN and connect it to operate.
The solution given by the official help is to use ssh port 443:
1. Test the usability first
The following proof is available
2. Then edit the ~/.ssh/config file. If there is no config file, just vim ~/.ssh/config and add the following content
Test again
The following tips are available
3. Refer to github official help:
https://help.github.com/artic...