美文网首页自动化学习-python
报错:ECDSA host key for gitlab.xxx

报错:ECDSA host key for gitlab.xxx

作者: 种树在此时 | 来源:发表于2022-01-20 09:38 被阅读0次

pycharm 更新代码后,push最新的commit,遇到报错
ECDSA host key for gitlab.xxxxxx.com has changed and you have requested strict checking.
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

提示host key不可用

解决方法:

  1. 删除本地.ssh下的host文件
  2. 重新push一次即可

查找host文件的方法:
使用工具:everything 直接搜


image.png

相关文章

网友评论

    本文标题:报错:ECDSA host key for gitlab.xxx

    本文链接:https://www.haomeiwen.com/subject/sccjhrtx.html