方法一:
运行
yum -y install sshpass
方法二:
离线安装:
下载安装包
sshpass-1.06-2.el7.x86_64.rpm
执行命令:
rpm -ivh sshpass-1.06-2.el7.x86_64.rpm
安装后可以使用sshpass命令进行远程的免密传输
sshpass -p '密码' scp -r 源路径 目标路径
标签:x86,1.06,安装,64,sshpass,rpm From: https://www.cnblogs.com/2018-james/p/17154083.html