scp自动运行脚本
摘要:一、 #!/bin/bashIP=192.168.1.179PASSWD=123456content=$(cat <<! spawn scp -r root@$IP:/home/CRM /home send "yes\n" expect password: send "$PASSWD\n" expe
阅读全文
posted @ 2017-03-19 21:02
posted @ 2017-03-19 21:02