sch远程拷贝自动输入密码expect小脚本
#!/usr/bin/expect#Author Aladin#date 20140504#auto input passwd#Version 1.0spawn scp -P22 /root/shell_test/123.txt root@192.168.0.80:/tmp/set timeout 100expect "root@192.168.0.80's passwor...