[root@stone_1 ~]# ssh-keygen -t rsa [root@stone_1 ~]# ssh-copy-id stone_2 #hostname,然后输入目标主机的密码即可
-
« 上一篇:
centos7开机运行命令
-
ansible安装初始化
:下一篇 »