1. 问题背景
我的部分代码储存在使用 Gitea 搭建的服务上: DevWiki - 首页 - DevWiki Gitea
之前都是使用网页在网站上进行 仓库管理, 今天在clone代码的时候出现异常: kex_exchange_identification: Connection closed by remote host
, 具体以下提示:
$ git clone git@git.devwiki.net:DevWiki/CefSharp.MinimalExample.git
Cloning into 'CefSharp.MinimalExample'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 124.223.154.177 port 22
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
2. 问题分析
由于之前没有遇到过此类问题, 随即