在执行 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
标签:pull,git,github,报错,ssh,out,com,port,connect From: https://www.cnblogs.com/Jeffxu/p/17968652