zoukankan      html  css  js  c++  java
  • git clone代码时候出现的报错

    git clone git@gitlab.xxxils.cn:xxxia/admin.git

    Cloning into 'admin'...

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    The ECDSA host key for gitlab.xxls.cn has changed,

    and the key for the corresponding IP address xx.xxx.xx.138

    is unknown. This could either mean that

    DNS SPOOFING is happening or the IP address for the host

    and its host key have changed at the same time.

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!

    Someone could be eavesdropping on you right now (man-in-the-middle attack)!

    It is also possible that a host key has just been changed.

    The fingerprint for the ECDSA key sent by the remote host is

    SHA256:RIlRjsMUfj3RHw1q0CrxdIqJxGVuo6DMP3Vfg.

    Please contact your system administrator.

    Add correct host key in /Users/xxxxli/.ssh/known_hosts to get rid of this message.

    Offending RSA key in /Users/xxxli/.ssh/known_hosts:2

    ECDSA host key for gitlab.xxxxls.cn 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.

     

     

    图示:⬇️

    以上需要运行:

    rm ~/.ssh/known_hosts 

     

     

     

    然后在clone问题解决

  • 相关阅读:
    老陌与博客
    有关模式窗体和无(非)模式窗体的区别
    10月9日至10月22日备忘录
    9月4日至9月10日备忘录
    VS2015 远程调试:Remote Debugger
    8月28日至9月3日备忘录
    8月21日至8月27日技术积累
    用函数方法实现迭代器
    python中eval, exec, execfile,和compile(转载)
    dev 中的GridControl中的行实现选择的功能实现
  • 原文地址:https://www.cnblogs.com/qichao123/p/8376236.html
Copyright © 2011-2022 走看看