博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
解决问题-1
阅读量:3980 次
发布时间:2019-05-24

本文共 1474 字,大约阅读时间需要 4 分钟。

在这里插入图片描述

  1. 报错信息:
Cloning into 'xhj-apitesy'...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@The RSA host key for gitlab.xianghuanji.com has changed,and the key for the corresponding IP address 47.110.94.34is unknown. This could either mean thatDNS SPOOFING is happening or the IP address for the hostand 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 RSA key sent by the remote host isSHA256:r8hhZKGNqqhZkG27XjKC0m+uAgJ+hRGjjTVp7OUaccY.Please contact your system administrator.Add correct host key in /Users/xhj/.ssh/known_hosts to get rid of this message.Offending RSA key in /Users/xhj/.ssh/known_hosts:2RSA host key for gitlab.xianghuanji.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

2、找到问题:主要就是有一行: /Users/xhj/.ssh/known_hosts:2就是说这个文件的.ssh/known_hosts第2行发送冲突了

3、解决办法:

终端cd到这个目录;然后清空里面的全部内容(我本来一行行删掉的,但是他都好用,所以我全删掉了);然后再去clone项目就好了

转载地址:http://mirki.baihongyu.com/

你可能感兴趣的文章
gcc编译器命令使用详解
查看>>
gcc编译动态库和静态库的详细说明
查看>>
linux下用gcc生成静态库和动态库
查看>>
linux下的动态库和静态库
查看>>
JpGraph中文乱码问题
查看>>
JpGrap引入以及中文乱码问题
查看>>
用$(window).load(function(){...})而不用body.onload()的几个理由
查看>>
使用secure CRT的SFTP在LINUX与WINDOWS下交换文件
查看>>
如何使用PHP开发高效的WEB系统
查看>>
linux下查看系统配置的命令
查看>>
linux 链接的使用 创建和删除符号连接(软、硬链接)
查看>>
linux修改系统时间详解
查看>>
linux下设置IP为什么每次重启后会自动变?
查看>>
php导出数据到excel,防止身份证等数字字符格式变成科学计数的方法
查看>>
shell操作mysql
查看>>
netcat
查看>>
Linux下如何查看CPU信息, 包括位数和多核信息
查看>>
Linux命令行访问网页
查看>>
VMware网络连接 桥接、NAt、host-only模式
查看>>
VMware网络设置详解 打造超级虚拟网络
查看>>