关于ssh连接github失败

本文最后更新于 2025年9月12日 上午

先尝试ssh -T git@github.com

有可能是22端口被阻隔了,尝试443端口,在config中修改为:

1
2
3
4
5
Host github.com 
Hostname ssh.github.com
Port 443
User git
ProxyCommand connect -S 系统代理地址 %h %p

关于ssh连接github失败
http://example.com/2025/08/27/sshBug/
发布于
2025年8月27日
更新于
2025年9月12日
许可协议