自动scp(ssh信任外的另一种方法) 2014/11/23 36687 清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>> #!/usr/bin/expect set password yanfa set host 10.8.210.5 spawn scp index.html yanfa@$host:/home/yanfa/ expect "*password:" send "$password\r" expect eof.