当前位置:网站首页>Prompt "warning: remote host identification has changed" when SSH
Prompt "warning: remote host identification has changed" when SSH
2022-07-22 21:35:00 【panfei263031】
Reprinted from :known_hosts The function of documents , And FAQs
When encountering the following problems :
[email protected]:~# ssh 192.168.20.46
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 ECDSA key sent by the remote host is
SHA256:6C6zDl5/8R8dUGhQVW8YjCpGN6wj+a95LgyoUm7B6bI.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /root/.ssh/known_hosts:13
ECDSA host key for 192.168.20.46 has changed and
when , Never delete it directly known_hosts file , Otherwise ssh Connect other linux When the equipment , I want to reenter yes, But when there are many remote devices , Input yes It is also a relatively large workload !!
Input yes after ,ssh It will record the public key information of the other party to the local known_hosts In the document , The next time you log in, you don't have to enter yes.
All of them have such hints , Because the public key information of the remote host and known_hosts The records in the file are different . So the solution is , Put the machine known_hosts Delete the public key information corresponding to the remote host in the file , The article reproduced at the beginning describes how to delete .
边栏推荐
- Bash basic functions alias and shortcut keys
- Web编程入门 2.3 解决fakepath问题 获取本地文件真实地址
- Buuctf entry diary 01 -- easysql
- Bash variable -- environment variable
- extern “C“的作用
- Condition judgment
- Buuctf entry diary -- [suctf 2019]checkin1()
- C# Winform开发 文件/文件夹的新建
- Automated test JSON general parser
- Leetcode notes (I) backtracking
猜你喜欢
[lttng learning journey] - trace control -- advanced
Network Accounting - layered structure, OSI communication process, tcp/ip model and 5-layer reference model
8. Memory and disk management
4.文本编辑器
On the characteristics of filter pseudo protocol
Blue Bridge Cup - half chocolate
Wechat applet comprehensive case practice 2
C# Winform开发 文件/文件夹的复制 剪切 粘贴
妙啊!美团 OCTO 分布式服务治理系统,这描述也太清晰了
Juc-6.2-concurrency container copyonwritearraylist
随机推荐
Bash basic function - input / output redirection
Environment variable configuration file
Juc-7.2-thread collaboration condition
Nssctf-01-[swpuctf 2021 freshman competition]gift_ F12
[lttng practice] - design a set of things to monitor the execution time and cycle of user programs running in a certain cycle -- demand analysis and scheme design
两台服务器之间拷贝文件-scp方法
C语言学习笔记:函数递归与迭代+例子
Buuctf breakthrough diary 04 -- [actf2020 freshman competition]include1
Condition judgment
四六级英语听力发射无线广播系统在广东海洋大学阳江校区的应用
Buuctf breakthrough diary 04 -- [strong net cup 2019] casual note 1
Simple sentences -one
安全至上北京现代i-GMP平台厉害之处到底在哪?
喝汽水情景 2: 递归
Record: problem 1, computer flash screen; Problem 2: double clicking the computer desktop icon does not respond
8.内存与磁盘管理
acwing-飞行员兄弟
Relationship and difference between session and cookie
蓝桥杯-K倍区间
Character processing command