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

 

posted on 2019-11-09 14:41  弘道者  阅读(1254)  评论(0编辑  收藏  举报