Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository

welcome to my blog

问题描述: 使用git push时报错: Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.

解决方法: 执行ssh -T [email protected]发现能连上github, 然后git push还是报错, 报错了两次之后第三次成功push, 可能是跟网络有关. 尝试过程如下图所示

Connection reset by 13.229.188.59 port 22 fatal: Could not read from remote repository