Use SSH over HTTPS port 配置 ~/.ssh/config: 123456Host github.com HostName ssh.github.com ProxyCommand nc -v -x 127.0.0.1:1086 %h %p # 使用本地 socks 代理访问 Port 443 User git IdentityFile ~/.ssh/github 测试连通性: 123$ ssh -T git@github.comConnection to ssh.github.com port 443 [tcp/https] succeeded!Hi yelexin! You've successfully authenticated, but GitHub does not provide shell access.