ssh免密认证 修改主机名

The authenticity of host 'node3 (192.168.96.155)' can't be established.
RSA key fingerprint is 5e:0a:d5:26:d5:ac:71:b1:84:09:2b:1b:28:ea:10:b7.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.

添加以下两行

StrictHostKeyChecking no

UserKnownHostsFile /dev/null

centos6.5  vim /etc/sysconfig/network

 centos 7

原文地址:https://www.cnblogs.com/tao-yuan/p/8023234.html