我發(fā)現(xiàn)加個代理也行, 通過在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...