在git push的时候出现,如下情况

kex_exchange_identification: Connection closed by remote host
Connection closed by 20.205.243.166 port 22
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

网上说是
客户端与服务端未生成 ssh key
客户端与服务端的ssh key不匹配
但是,我前两天用一直正常,本打算跟着教程重新生成一遍ssh key

首先删除掉
C:\Users\Dell.ssh 目录下的known_hosts文件,然后重新生成ssh key添加到github就好了,

然后在我删掉known_hosts之后,我就想重新git push一下试试。
然后出现了第一次配置ssh是的,选项,一顿yes之后正常运行