文章分类 -  Shell

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 咚..咚 阅读(592) 评论(0) 推荐(0)

导航