自动化学习-python

报错:ECDSA host key for gitlab.xxx

2022-01-20  本文已影响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
上一篇 下一篇

猜你喜欢

热点阅读