昨天配置了虚拟机的ssh,可以相互连接,但是今天早上就不行了,遇到如下错误

[slave1@hadoop ~]$ scp .ssh/id_rsa.pub master@hadoop.master:~/
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The RSA host key for hadoop.master has changed,
and the key for the corresponding IP address 192.168.62.130
is unchanged. This could either mean that
DNS SPOOFING is happening or the IP address for the host
and its host key have changed at the same time.
Offending key for IP in /home/slave1/.ssh/known_hosts:2
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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
b9:01:69:34:98:01:9d:39:ed:a2:9a:2c:79:98:34:3d.
Please contact your system administrator.
Add correct host key in /home/slave1/.ssh/known_hosts to get rid of this message.
Offending key in /home/slave1/.ssh/known_hosts:5
RSA host key for hadoop.master has changed and you have requested strict checking.
Host key verification failed.
lost connection

解决方法:#ssh-keygen  -R IP(这个IP就是你要去连接的IP)

最新文章

  1. 扩展RadioButtonListFor和CheckBoxListFor
  2. Linux下不同机器之间拷贝文件
  3. Jenkins_Maven_Git 持续集成及自动化部署 GentOS版
  4. POJ 2236 Wireless Network(并查集)
  5. jsp网站环境搭建
  6. springmore-让编程更容易
  7. wp8 --未找到与约束ContractName Microsoft.VisualStudio.Text.ITextDocumentFactoryService...匹配的导出
  8. Photoshop CS6 快捷键
  9. Android launcher3 开发初始篇
  10. IIS的安装
  11. Java基础06 组合
  12. debian将默认中文改成英文
  13. android JNI调用机制
  14. ruby学习-字符串
  15. sql server获取标识,获取最后ID IDENT_CURRENT、IDENTITY、SCOPE_IDENTITY区别
  16. 2018.07.06 BZOJ1208: HNOI2004宠物收养所(非旋treap)
  17. 在Ubuntu 12.04 桌面上设置启动器(快捷方式)
  18. MySQL安装的N种方式
  19. Windows中cmd操作mysql
  20. LR11直接对数据库访问操作方法在性能测试中的应用总结

热门文章

  1. 嵌入式:UCOSIII的使用(17.01.24补充)
  2. bootstrap到底是用来做什么的
  3. ETO的公开赛T4《对抗水滴》 题解(BY 萌萌哒123456 )
  4. 【网络流】EK算法及其优化
  5. Eclipse工具查看依赖的JDK、Maven源码方法
  6. Linux分享笔记:系统状态检测命令小结
  7. 【ospf-stub区域配置】
  8. 一次 group by + order by 性能优化分析
  9. Python学习:If 语句与 While 语句
  10. Kubernetes-运维指南