摘要: #!/bin/bash password=Jdyun@2019 for i in {1..3} do expect <<-EOF set timeout 5 spawn ssh-copy-id -i root@jdc$i expect { "yes/no" { send "yes\n";exp_co 阅读全文
posted @ 2019-05-22 14:52 guoxin0126 阅读(527) 评论(0) 推荐(0) 编辑