hadoop中the authenticity of host 'ubuntu (127.0.1.1)' can't be established

来源:互联网 发布:php项目开发实战密码 编辑:程序博客网 时间:2024/06/03 16:41



执行start-all.sh

出现the authenticity of host 'ubuntu (127.0.1.1)' can't be established


找到/etv/ssh/ssh_config

在最后添加:

StrictHostKeyChecking no

UserKnownHostsFile /dev/null

或者:ssh  -o StrictHostKeyChecking=no  192.168.0.xxx

内网中非常信任的服务器之间的ssh连接

0 0
原创粉丝点击