centos6安装sshpass
跳转机需要装这个
#!/bin/bash yum -y install gcc-c++ openssh-clients curl -o sshpass.tar.gz http://sourceforge.net/projects/sshpass/files/latest/download tar -xf sshpass.tar.gz cd sshpass* ./configure make rm -f /usr/local/bin/sshpass cp sshpass /usr/local/bin/sshpass