git连接gitee出现软件导致连接失败kex_exchange_identification

git 链接 失败
git连接出现软件导致连接失败
问题如下图,已经不知道怎么解决了

img

kex_exchange_identification: read: Software caused connection abort
banner exchange: Connection to 212.64.63.215 port 22: Software caused connection abort

本问题的解决方法:
先进行git clone git@gitee.com:applelive/ty.git
然后 yes 同意
这时候会生成knowhost文件

img


然后输入ssh -T git@gitee.com
就可以成功连接了

img

参考 https://blog.csdn.net/qq_44256828/article/details/127015907