git pull 报错:ssh: connect to host github.com port 22: Connection timed out
在执行 git pull
时提示错误:
ssh: connect to host github.com port 22: Connection timed out
解决方案:
-
添加 config 文件
vim ~/.ssh/config
-
添加如下内容
Host github.com
Hostname ssh.github.com
Port 443
ssh: connect to host github.com port 22: Connection timed out