标签:脚本批量 使用 file chm 第一步 install 权限 Opens centos6
第一步:安装openssh-clients
yum install -y openssh-clients.x86_64
第二步:生成密钥
ssh-keygen
第三步:拷贝公钥到其他机器
ssh-copy-id hostname
使用脚本批量配置免密登录
环境:centos6.10
安装脚本编程交互工具expect
yum install -y expect
编写脚本
auto_passphraseless_profile.sh
给执行权限 chmod +x auto_passphraseless_profile.sh
后面补充。。。
标签:脚本批量 使用 file chm 第一步 install 权限 Opens centos6
原文地址:https://www.cnblogs.com/cqdxwjd/p/9813048.html