首页 > 代码库 > CentOS7实现双机互信

CentOS7实现双机互信

[root@localhost ~]# ssh-keygen -f /root/.ssh/id_rsa -N ""

[root@localhost ~]# scp -r /root/.ssh     192.168.1.2:/root/

  

192.168.1.2是对方主机

安装可选包:

[root@localhost ~]# yum -y install vim-enhanced  bash-completion lrzsz  tree



CentOS7实现双机互信