问题 kex_exchange_identification: read: Connection reset by peer Connection reset by 180.97.125.228 port 22
-
提交代码到码云上,突然出现这种问题 kex_exchange_identification: read: Connection reset by peer Connection reset by 180.97.125.228 port 22,在网上找了很多方法,重写生成公钥,上删除这个ip等等方法,都行不通。也不知道是不是我的电脑问题,后来我试了一个方法
-
找到host文件
/private/etc/hosts
- 在文件的 180.97.125.228 加上端口即可
180.97.125.228:22 gitee.com