SSH 遇到 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

简介: SSH 遇到 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
[root@controller ~]# ssh username@xxx.xxx.xxx.xxx
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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 RSA key sent by the remote host is
b3:1f:65:0f:52:f0:23:5d:93:44:79:6a:d8:2f:bb:46.
Please contact your system administrator.
Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:6
RSA host key for xxx.xxx.xxx.xxx has changed and you have requested strict checking.
Host key verification failed.
[root@controller ~]# vi .ssh/known_hosts 

若遇此情况 请注意

Add correct host key in /root/.ssh/known_hosts to get rid of this message.
Offending RSA key in /root/.ssh/known_hosts:6

将正确的RSAkey添加进去,或者删除原有的即可

目录
相关文章
|
前端开发 网络安全
ssh项目出现Bean property 'xxx' is not writable or has an invalid setter method解决方案!
ssh项目出现Bean property 'xxx' is not writable or has an invalid setter method 的解决方案
241 0
ssh项目出现Bean property 'xxx' is not writable or has an invalid setter method解决方案!
|
网络安全 数据安全/隐私保护
|
网络安全
mac下ssh登录REMOTE HOST IDENTIFICATION HAS CHANGED
先cat一下家目录的.ssh/know_hosts 将对应的ip删除即可
1442 0
|
网络安全
SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
今天遇到问题,删除文件即搞定!! ~~~~~~~~~~~~~~ SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!   Connection to 192.
1797 1
|
3月前
|
Linux 网络安全
Linux命令(124)之ssh
Linux命令(124)之ssh
33 2
|
1月前
|
安全 Shell Linux
【Shell 命令集合 文件管理】Linux ssh 远程主机之间复制文件 scp 命令使用教程
【Shell 命令集合 文件管理】Linux ssh 远程主机之间复制文件 scp 命令使用教程
38 0
|
9天前
|
网络协议 安全 Linux
IDEA通过内网穿透实现固定公网地址远程SSH连接本地Linux服务器
IDEA通过内网穿透实现固定公网地址远程SSH连接本地Linux服务器
|
4月前
|
安全 网络协议 Linux
Linux ssh 命令详解
Linux ssh 命令详解
121 0
|
1月前
|
网络协议 Ubuntu Linux
「远程开发」VSCode使用SSH远程linux服务器 - 公网远程连接
「远程开发」VSCode使用SSH远程linux服务器 - 公网远程连接
134 0