tar -zxvf sshpass-1.06.tar.gz
cd sshpass-1.06
./configure
make && make install
sshpass -p userpassword ssh***
sshpass -f userpassword.file ssh***
tar -zxvf sshpass-1.06.tar.gz
cd sshpass-1.06
./configure
make && make install
sshpass -p userpassword ssh***
sshpass -f userpassword.file ssh***
转载于:https://www.cnblogs.com/suanec/p/7120592.html