在代理下,git使用ssh 22端口时连接不上。关掉代理就可以

参考本文 本地打开代理,Git无法使用SSH连接GitHubGitHub SSH连接的血泪史:短短一行报错,让我在接下来的48小时 - 掘金

但是实际上我并没有使用ncat

只是在ssh 的config中

1
2
3
4
5
6
Host github.com 
	Hostname ssh.github.com 
	IdentityFile ~/.ssh/id_rsa 
	Port 443 
	ServerAliveInterval 20 
	User git

Port 443 绕过。似乎暂时没遇到什么问题