摘要: 脚本基本原理 1、控制端免交互创建秘钥和公钥: 1 ssh-keygen -t rsa -f /root/.ssh/id_rsa -N "" 2、免交互发送公钥 1 sshpass -ppassword ssh-copy-id -i /root/.ssh/id_rsa.pub "-o StrictH 阅读全文
posted @ 2019-10-22 13:12 Repetition_Maximum 阅读(1210) 评论(0) 推荐(0) 编辑