Chinaunix首页 | 论坛 | 博客
  • 博客访问: 251387
  • 博文数量: 91
  • 博客积分: 4185
  • 博客等级: 上校
  • 技术积分: 855
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-29 16:18
文章分类

全部博文(91)

文章存档

2014年(3)

2013年(1)

2012年(8)

2011年(2)

2010年(5)

2009年(68)

2008年(4)

我的朋友
ssh

分类: LINUX

2009-11-03 10:16:44

1、Error:
wanneng@wanneng-desktop:~/company_workspace/sever-doc/software$ ssh 192.168.1.3 -l wanneng
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
51:51:b7:e0:e0:a8:05:08:a3:ff:54:dd:af:a9:5e:04.
Please contact your system administrator.
Add correct host key in /home/wanneng/.ssh/known_hosts to get rid of this message.
Offending key in /home/wanneng/.ssh/known_hosts:6
RSA host key for 192.168.1.3 has changed and you have requested strict checking.
Host key verification failed.

解决办法:ssh-keygen -R 192.168.1.3(或者主机名也可以)
这将移除.ssh/known_hosts中的RSA host key
原因:主机RSA key改变了,而ssh用的还是原来的RSA key,所以不匹配。
阅读(522) | 评论(0) | 转发(0) |
0

上一篇:网络设置

下一篇:防火墙

给主人留下些什么吧!~~