다른 뜻에 대해서는 우분투 sshpass 설치 문서를 참조하십시오.
✔️ CentOS 6.2에서 테스트하였습니다.
- 리눅스 sshpass 설치 (yum)
- CentOS sshpass 설치
확인
[root@zetawiki ~]# rpm -qa | grep sshpass
[root@zetawiki ~]# sshpass
-bash: sshpass: command not found
- → 설치 안됨
epel-release 설치
yum으로 설치
[root@zetawiki ~]# yum install sshpass
... (생략)
===================================================================================
Package Arch Version Repository Size
===================================================================================
Installing:
sshpass x86_64 1.05-1.el6 epel 19 k
Transaction Summary
===================================================================================
Install 1 Package(s)
Total download size: 19 k
Installed size: 33 k
Is this ok [y/N]: y
... (생략)
Installed:
sshpass.x86_64 0:1.05-1.el6
Complete!
확인 2
[root@zetawiki ~]# rpm -qa | grep sshpass
sshpass-1.05-1.el6.x86_64
[root@zetawiki ~]# sshpass -V
sshpass 1.05 (C) 2006-2011 Lingnu Open Source Consulting Ltd.
This program is free software, and can be distributed under the terms of the GPL
See the COPYING file for more information.