git clone 失败

使用git clone 是出现的一些问题 公钥是上传了的

 

Cloning into 'data-structure'...
kex_exchange_identification: Connection closed by remote host
Connection closed by 212.64.63.190 port 22
fatal: Could not read from remote repository.

这是失败的一些打印信息

解决思路

使用 ssh -T @服务器地址 列如 ssh -T git@212.64.63.190 这是gitee的

kex_exchange_identification: Connection closed by remote host 这是返回的一个打印信息 意思大概是 你的服务器拒绝你的连接  服务器封了你的IP 像校园网这些公共网容易封。

措施: 换一个网络 重新分配ip 手机开热点

posted @ 2022-11-05 17:07  睡觉觉苏  阅读(387)  评论(0)    收藏  举报