Git pull代码 ssh_exchange_identification 错误

/ 0评 / 0 / 6,751 次 /

最近公司更换了Git服务器,重新拉取代码后报错了。

ssh_exchange_identification: read: Connection reset by peer
fatal: Could not read from remote repository.

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

原因是Git服务器 设置了IP白名单 , 将你的公网IP在对应的服务器设置一下就好了。

发表评论

邮箱地址不会被公开。 必填项已用*标注

2 × 2 =