一:安装
1 先安装epel
yum install -y epel-release
2 安装完成epel之后,就可以按照sshpass了
yum install -y sshpass
3 验证:sshpass -V
[root@localhost ~]# sshpass -V
sshpass 1.06
(C) 2006-2011 Lingnu Open Source Consulting Ltd.
(C) 2015-2016 Shachar Shemesh
This program is free software, and can be distributed under the terms of the GPL
See the COPYING file