当前位置:   article > 正文

git问题:Connection reset by 180.97.125.228 port 22fatal: Could not read from remote repository._connection reset by 180.76.198.77 port 22

connection reset by 180.76.198.77 port 22
  1. Connection reset by 180.97.125.228 port 22
  2. fatal: Could not read from remote repository.
  3. Please make sure you have the correct access rights
  4. and the repository exists.

在git push时,遇到了如上问题,经过一系列的尝试,最后决绝办法是重新生成SSH Key,以下附带操作流程:

SSH Key 生成:

ssh-keygen -t rsa -C "邮箱地址"

输入命令后按三次回车执行默认操作,得到SSH Key

找到具体文件夹,打开公钥将公钥复制放在码云上,再重新执行提交命令即可

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/819365
推荐阅读
相关标签
  

闽ICP备14008679号