首页 > 代码库 > CentOS 6 安装 sshpass

CentOS 6 安装 sshpass

不如Ubuntu, 默认yum install sshpass无法安装sshpass,需要用下面的步骤:

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:Strahlex/CentOS_CentOS-6/home:Strahlex.repo
yum install sshpass