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

 

posted @ 2017-12-11 15:16  jack-toy  阅读(108)  评论(0编辑  收藏  举报