码迷,mamicode.com
首页 > 其他好文 > 详细

ssh配置出错的有关问题

时间:2016-11-03 03:11:28      阅读:180      评论:0      收藏:0      [点我收藏+]

标签:ssh无密通信出错

1、Warning: the ECDSA host key for ‘slave2‘ differs from the key for the IP address ‘219.244.48.234‘
Offending key for IP in /home/hadoop/.ssh/known_hosts:3
Matching host key in /home/hadoop/.ssh/known_hosts:8

问题解决:将Offending key for IP in /home/hadoop/.ssh/known_hosts:3中提示的known_hosts文件打开,(用:set nu 添加里面的编号)删除第三行内容就ok了,问题完美解决


但是还有提示:Warning: Permanently added the ECDSA host key for IP address ‘219.244.48.234‘ to the list of known hosts.


问题解决:在问题主机输入:ssh-keygen -R 219.244.48.234(注意是在出错IP主机操作)

完美问题解决


如果ssh slave1 没有反应就是ssh没有装好或是无密码登录没有配好


如果能ssh自己本机,不能ssh Master机器,很可能是hosts/hostname文件里面添加的Slave和Master的问题,很可能是IP输入错误




本文出自 “11479825” 博客,转载请与作者联系!

ssh配置出错的有关问题

标签:ssh无密通信出错

原文地址:http://11489825.blog.51cto.com/11479825/1868703

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!