我发现加个代理也行, 通过在config里加, 随时删除也比较方便
Host github.com
HostName github.com
User git
# 走 socks5 代理
ProxyCommand nc -v -x 127.0.0.1:7890 %h %p
IdentityFile ~/.ssh/id_ed25519
[解决]git-ssh: connect to host github.com port 22: Connection timed out最近在更新了本地代码 node 版本后,提交代码时报错如下 $ git pull project developssh: connect to host github.com...