获取负载均衡设备array的配置文件

#!/usr/bin/expect -f
set password asdfasdfasdfasdfasdfa
#download
spawn scp test@10.13.2.4:/ca/conf/ca.conf /data/bin/zhaoweica.conf
set timeout 300
expect "test@10.13.2.4's password:"
set timeout 300
send "$password\r"
set timeout 300
send "exit\r"
expect eof

京ICP备11047313号-19 彩虹岛电子书