当前位置:网站首页>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
边栏推荐
- Technology sharing | common interface protocol analysis
- 基于JEECG-BOOT制作“左树右表”交互页面
- 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
- 模拟卷Leetcode【普通】1447. 最简分数
- Black cat takes you to learn EMMC Protocol Part 10: EMMC read and write operation details (read & write)
- 专业论文翻译,英文摘要如何写比较好
- Delete the variables added to watch1 in keil MDK
- Transfert des paramètres de la barre d'adresse de la page de liste basée sur jeecg - boot
- 模拟卷Leetcode【普通】1249. 移除无效的括号
- 商标翻译有什么特点,如何翻译?
猜你喜欢
University of Manchester | dda3c: collaborative distributed deep reinforcement learning in swarm agent systems
翻译生物医学说明书,英译中怎样效果佳
LeetCode 729. My schedule I
Technology sharing | common interface protocol analysis
MFC on the conversion and display of long string unsigned char and CString
钓鱼&文件名反转&office远程模板
mysql按照首字母排序
Oscp raven2 target penetration process
ECS accessKey key disclosure and utilization
翻译影视剧字幕,这些特点务必要了解
随机推荐
Black cat takes you to learn UFS protocol Chapter 18: how UFS configures logical units (Lu Management)
Py06 字典 映射 字典嵌套 键不存在测试 键排序
Fledgling Xiao Li's 103rd blog CC2530 resource introduction
Use shortcut LNK online CS
mysql的基础命令
私人云盘部署
Summary of leetcode's dynamic programming 4
模拟卷Leetcode【普通】1218. 最长定差子序列
Selenium source code read through · 9 | desiredcapabilities class analysis
Simulation volume leetcode [general] 1062 Longest repeating substring
How to do a good job in financial literature translation?
SourceInsight Chinese garbled
Drug disease association prediction based on multi-scale heterogeneous network topology information and multiple attributes
My daily learning records / learning methods
自动化测试环境配置
Apple has open source, but what about it?
Simulation volume leetcode [general] 1219 Golden Miner
Simulation volume leetcode [general] 1405 Longest happy string
Black cat takes you to learn UFS protocol Chapter 4: detailed explanation of UFS protocol stack
LeetCode 731. My schedule II