git 报错——ssh_exchange_identification: read: Software caused connection abort

怀疑是共飞又在盖强了,导致我大半夜代码push不上去。
报错如下:

ssh_exchange_identification: read: Software caused connection abort

找了半天原因,终于锁定在ssh被墙了。
1.把git接管的目录显示出来,打开.git那个文件夹。
2.里面有个config文件,拖到编辑器里把之前的ssh地址改为https地址。
3.解释:https不易被强。

猜你喜欢

转载自blog.csdn.net/dokill/article/details/78325183