- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
- WARNING: REMOTE HOST IDENTIFICAT
用ssh联机时,出现「WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!」,后面还有一大串英文,搜索了一下,终于找到了原因。
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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 the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
这里依每台计算机而不同
Please contact your system administrator.
Add correct host key in /home/conbar/.ssh/known_hosts to get rid of this message.
Offending key in /home/conbar/.ssh/known_hosts:10
Host key verification failed.
RSA host key for 这里是服务器端的IP或网址 has changed and you have requested strict checking.
会出现这讯息是因为,第一次SSH连现时,会生成一个认证,储存在客户端(也就是用SSH联机其他计算机的那个,自己操作的那个)中的known_hosts,但是如果服务器端重灌过了,认证信息当然也会更改,服务器端与客户端不同时,就会跳出错误啦~
注意:跳出这个讯息也可能是遭到了 Man in the Middle 攻击,除非你很肯定这确实是因为重灌等因素所造成的 Key 不一致,不然请换一个网络环境再试试看,也许你并不是在一个安全的网络环境!
因此,只要把计算机中的认证信息删除,联机时重新生成,就一切完美啦~要删除很简单,只要在客户端输入一个指令
ssh-keygen -R 服务器端的IP或网址
接下来在联机一次,会出现
Are you sure you want to continue connecting (yes/no)?
输入yes,就完成联机!同时,新的认证也生成了.
网友评论