当前位置:网站首页>Day 246/300 ssh连接提示“REMOTE HOST IDENTIFICATION HAS CHANGED! ”
Day 246/300 ssh连接提示“REMOTE HOST IDENTIFICATION HAS CHANGED! ”
2022-07-06 06:28:00 【Arden Zhao】
(一)需求
我想连接远程服务器免密登录和命令行都报错ssh [email protected] - p
但是有报错,如下:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ED25519 key sent by the remote host is
SHA256:vdHz3zOlFnQs/O+IkQCmN8FjCUSHJsKgVkD1+7KvmlA.
Please contact your system administrator.
Add correct host key in /Users/zhaoarden/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /Users/zhaoarden/.ssh/known_hosts:14
Host key for 47.93.247.224 has changed and you have requested strict checking.
Host key verification failed.
(二)分析
SSH会将访问过的公钥都缓存在(public key);
下次访问时,SSH 会核对公钥,如果不对,会报错提示。
以免收到DNS的等攻击;
(三)解决方法
Mac版,找到known_hosts文件,/Users/zhaoarden/.ssh/known_hosts
删除对应IP对应的公钥就OK了。
再次连接可以了。
写在最后的话
学习路上,常常会懈怠《有想学技术需要监督的同学嘛~》
https://mp.weixin.qq.com/s/FyuddlwRY7DsHUejCjiVug
参考链接
https://cloud.tencent.com/developer/article/1508166
边栏推荐
- 在JEECG-boot代码生成的基础上修改list页面(结合自定义的组件)
- leetcode 24. 两两交换链表中的节点
- Financial German translation, a professional translation company in Beijing
- Transfert des paramètres de la barre d'adresse de la page de liste basée sur jeecg - boot
- 【MQTT从入门到提高系列 | 01】从0到1快速搭建MQTT测试环境
- Oscp raven2 target penetration process
- 自动化测试环境配置
- The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
- 私人云盘部署
- MySQL is sorted alphabetically
猜你喜欢
论文翻译英译中,怎样做翻译效果好?
Office-DOC加载宏-上线CS
云服务器 AccessKey 密钥泄露利用
Luogu p2089 roast chicken
商标翻译有什么特点,如何翻译?
记一个基于JEECG-BOOT的比较复杂的增删改功能的实现
記一個基於JEECG-BOOT的比較複雜的增删改功能的實現
Tms320c665x + Xilinx artix7 DSP + FPGA high speed core board
JDBC requset corresponding content and function introduction
University of Manchester | dda3c: collaborative distributed deep reinforcement learning in swarm agent systems
随机推荐
keil MDK中删除添加到watch1中的变量
SQL Server manager studio(SSMS)安装教程
Difference between backtracking and recursion
Advanced MySQL: Basics (1-4 Lectures)
模拟卷Leetcode【普通】1091. 二进制矩阵中的最短路径
Traffic encryption of red blue confrontation (OpenSSL encrypted transmission, MSF traffic encryption, CS modifying profile for traffic encryption)
How do programmers remember code and programming language?
Simulation volume leetcode [general] 1296 Divide an array into a set of consecutive numbers
翻译生物医学说明书,英译中怎样效果佳
Py06 dictionary mapping dictionary nested key does not exist test key sorting
LeetCode 729. My schedule I
Private cloud disk deployment
英语论文翻译成中文字数变化
基于JEECG-BOOT的list页面的地址栏参数传递
CS-证书指纹修改
leetcode 24. 两两交换链表中的节点
MySQL is sorted alphabetically
Simulation volume leetcode [general] 1314 Matrix area and
端午节快乐Wish Dragon Boat Festival is happy
Past and present lives of QR code and sorting out six test points