CentOS sshpass 설치

Jmnote (토론 | 기여)님의 2012년 2월 12일 (일) 16:24 판

1 yum, apt-get 설치 실패

[root@jmnote ~]# yum install sshpass -y
Loaded plugins: fastestmirror, refresh-packagekit
Determining fastest mirrors
updates/metalink                                                                                   | 2.6 kB     00:00
 * fedora: ftp.tsukuba.wide.ad.jp
 * updates: ftp-stud.hs-esslingen.de
fedora                                                                                             | 3.8 kB     00:00
Setting up Install Process
No package sshpass available.
Nothing to do
[root@jmnote ~]# apt-get install sshpass
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package sshpass
[root@jmnote ~]#

2 다운로드 및 설치

명령어

<soruce lang='bash'> wget http://download.fedora.redhat.com/pub/epel/6/x86_64/sshpass-1.05-1.el6.x86_64.rpm </source>

예시
[root@mysvn ~]# wget http://download.fedora.redhat.com/pub/epel/6/x86_64/sshpass-1.05-1.el6.x86_64.rpm
--2012-02-12 16:22:30--  http://download.fedora.redhat.com/pub/epel/6/x86_64/sshpass-1.05-1.el6.x86_64.rpm
Resolving download.fedora.redhat.com... 209.132.181.23, 209.132.181.24, 209.132.181.25, ...
Connecting to download.fedora.redhat.com|209.132.181.23|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 19292 (19K) [application/x-rpm]
Saving to: “sshpass-1.05-1.el6.x86_64.rpmâ€

100%[================================================================================>] 19,292      62.4K/s   in 0.3s

2012-02-12 16:22:31 (62.4 KB/s) - “sshpass-1.05-1.el6.x86_64.rpmâ€

[root@mysvn ~]#
문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}