git---如何解决The authenticity of host can't be established.
2024-09-01 12:00:47
新生成密钥的时候,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 ```
.
最新文章
- C#、JAVA操作Hadoop(HDFS、Map/Reduce)真实过程概述。组件、源码下载。无法解决:Response status code does not indicate success: 500。
- Python:循环语句
- 纯js异步无刷新请求(只支持IE)
- 关于strcpy和memcpy
- 【转】Samba配置文件详解
- mysql数据库性能优化(包括SQL,表结构,索引,缓存)
- 学习cocos-js的准备工作
- Git Shell使用笔记
- linux nginx启动 重启 关闭命令
- HDOJ2009求数列的和
- ARP 和 RARP
- python密码强口令检测
- Angular - - $anchorScroll、$controller、$document
- scala练手之数字转汉字小工具
- Web Api 返回图片流
- ARTS打卡计划第二周-Algorithm
- vue-cli脚手架之build文件夹上半部
- C/C++中连接函数strcat的应用(简单讲解)
- 快速搭建BIND服务,并实现解析
- CGI浏览器与服务器的交互