新生成密钥的时候,git clone或者push的时候,可能会报这样的错误:

```

The authenticity of host 'gitee.com (xxx.xxx.xxx.xxx)' can't be established.

ECDSA key fingerprint is SHA256:xxxxxxxxxxxxxxxxxxxxxxxx.

```

Google之后明白,文件夹内少了一个known_hosts文件,本来密钥文件应该是三个,现在只有两个,便报了这样的错误,此时输入yes回车之后,生成了缺少了的known_hosts文件,便可解决这个问题:

```

Are you sure you want to continue connecting (yes/no)? //输入yes,回车

Warning: Permanently added 'gitee.com,xxx.xxx.xxx.xxx' (ECDSA) to the list of known hosts.

ssh_packet_read: Connection closed

```

.

最新文章

  1. C#、JAVA操作Hadoop(HDFS、Map/Reduce)真实过程概述。组件、源码下载。无法解决:Response status code does not indicate success: 500。
  2. Python:循环语句
  3. 纯js异步无刷新请求(只支持IE)
  4. 关于strcpy和memcpy
  5. 【转】Samba配置文件详解
  6. mysql数据库性能优化(包括SQL,表结构,索引,缓存)
  7. 学习cocos-js的准备工作
  8. Git Shell使用笔记
  9. linux nginx启动 重启 关闭命令
  10. HDOJ2009求数列的和
  11. ARP 和 RARP
  12. python密码强口令检测
  13. Angular - - $anchorScroll、$controller、$document
  14. scala练手之数字转汉字小工具
  15. Web Api 返回图片流
  16. ARTS打卡计划第二周-Algorithm
  17. vue-cli脚手架之build文件夹上半部
  18. C/C++中连接函数strcat的应用(简单讲解)
  19. 快速搭建BIND服务,并实现解析
  20. CGI浏览器与服务器的交互

热门文章

  1. 微慕WordPress小程序增强版
  2. Spring JDBC最佳实践(1)
  3. Python【每日一问】27
  4. Kafka session.timeout.ms heartbeat.interval.ms参数的区别以及对数据存储的一些思考
  5. Django CBV和FBV
  6. 如何解决Requests的SSLError(转)
  7. CSP-S2019 自闭记
  8. Java学习: 面向对象的使用与注意事项
  9. Go语言入门——hello world
  10. VS代码调试出现:当前不会命中断点。还没有为该文档加载任何符号。