Chinaunix首页 | 论坛 | 博客
  • 博客访问: 72491
  • 博文数量: 21
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 189
  • 用 户 组: 普通用户
  • 注册时间: 2015-08-24 20:56
文章分类

全部博文(21)

文章存档

2016年(1)

2015年(20)

我的朋友

分类: LINUX

2015-09-21 14:44:41

第一次用ssh登陆openwrt时,一切正常;但我退出后重新登陆时遇到下面的问题:
  1. $ ssh root@192.168.1.1
  2. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3. @ WARNING: REMOTE HOST IDENTIFICATION HAS @
  4. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  5. IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING
  6. Someone could be eavesdropping on you right now (man-in-the-middle attack)!
  7. It is also possible that a host key has just been changed.
  8. The fingerprint for the RSA key sent by the remote host is
  9. 42:c1:34:9b:46:23:05:b1:a5:29:54:b7:43:7f:23:ad.
  10. Please contact your system administrator.
  11. Add correct host key in /home/user/.ssh/known_hosts to get rid of this message.
  12. Offending RSA key in /home/user/.ssh/known_hosts:1
  13.   remove with: ssh-keygen -f "/home/user/.ssh/known_hosts" -R 192.168.1.1
  14. RSA host key for 192.168.1.1 has changed and you have requested strict checking.
  15. Host key verification failed.
后来经指点,用 rm -rf ~/.ssh/known_hosts 之后成功登陆。
可能是第一次登陆时ssh留下了记录,所以需删除该文件。
阅读(1458) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~