GIT Clone 报错

kex_exchange_identification: read: Connection reset by peer
Connection reset by 20.205.243.166 port 22
fatal: Could not read from remote repository.

解决方案:

在 ~/.ssh/config (没有就新建一个)文件中添加下面的配置即可,之后就可以正常操作了

Host github.com
    Hostname ssh.github.com
    Port 443
    User git
Logo

一站式 AI 云服务平台

更多推荐