随笔 - 0, 文章 - 264, 评论 - 170, 引用 - 0
数据加载中……

ssh另一台机器时,报Password authentication is disabled to avoid man-in-the-middle attacks.

想ssh至192.168.1.35,报如下错误:
[root@Surf-BJ-CAC-233 pusher]# ssh 192.168.1.35
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    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
7c:c5:c4:7b:
78:e3:13:60:4a:4d:ff:8c:46:3b:e6:0d.
Please contact your system administrator.
Add correct host key in 
/root/.ssh/known_hosts to get rid of this message.
Offending key in 
/root/.ssh/known_hosts:9
Password authentication is disabled to avoid man
-in-the-middle attacks.
Keyboard
-interactive authentication is disabled to avoid man-in-the-middle attacks.
Permission denied (publickey,password).

解决办法:
[root@Surf-BJ-CAC-233 pusher]# mv /root/.ssh/known_hosts /root/.ssh/known_hosts_bak



posted on 2014-09-23 19:21 小一败涂地 阅读(3662) 评论(0)  编辑  收藏 所属分类: 开源工具、插件相关


只有注册用户登录后才能发表评论。


网站导航: