首页 > 其他 > 详细

ssh配置出错的有关问题

时间:2016-11-03 03:08:52      阅读:615      评论:0      收藏:0      [点我收藏+]

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配置出错的有关问题

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!