sshpass的离线安装与卸载

sshpass的离线安装与卸载

一.安装

1.下载安装包

https://www.rpmfind.net/linux/rpm2html/search.php?query=sshpass&submit=Search+...&system=&arch=

2.解压安装

tar -zxvf sshpass-1.05.tar.gz

cd sshpass-1.05

./configure   #需要安装gcc环境

make

make install

 

2. 验证安装成功

 sshpass -V

 

二.卸载

cd sshpass-1.05/

make uninstall

make clean

 

 

 
posted @ 2024-03-07 14:31  飞行日志  阅读(358)  评论(0编辑  收藏  举报