1、在每台机器上配置host映射
[root@localhost logs]# vim /etc/hosts
2、生成秘钥文件
[root@localhost logs]# ssh-keygen -t rsa
3、将秘钥文件传输至需要免密登录的服务器
[root@localhost logs]# ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.179.129
[root@localhost logs]# ssh 192.168.179.129
[root@localhost logs]# ssh-copy-id -i ~/.ssh/id_rsa.pub 192.168.179.130
[root@localhost logs]# ssh 192.168.179.130