sshpass安装使用
wget http://downloads.sourceforge.net/project/sshpass/sshpass/1.05/sshpass-1.05.tar.gz
tar xvzf sshpass-1.05.tar.gz
cd sshpass-1.05
./configure
make
make install
sshpass -V
sshpass -p Aa123456 scp /tmp/sshpass-1.05.tar.gz root@192.168.1.118:/tmp/