2014-08-15 2 views
0

우리 시스템에 MapR을 설치하려면 centos에 sshpass를 설치하려고합니다.centos에서 openssh 설치

내가 여기에 주어진 지침을 준수하고 있습니다 : http://doc.mapr.com/display/MapR/Quick+Installation+Guide

내가 얻을 문제 다음

sudo yum install sshpass 
Loaded plugins: fastestmirror, security 
Loading mirror speeds from cached hostfile 
* base: centos.excellmedia.net 
* extras: centos.excellmedia.net 
* updates: centos.excellmedia.net 
Setting up Install Process 
No package sshpass available. 
Error: Nothing to do 

누군가가 어디 큰 것에서 sshpass를 얻는 방법을 이해하는 데 도움이 할 수 있습니다. 사전에

감사

답변

0

까지 내가 sshpass하지만 openssh-server를 호출되지 않습니다 알고에 CentOS에 오픈 SSH 서버를 포함하는 패키지 그래서 더 좋은 방법은 설정에 SSH 키 것

yum install openssh-server 
+0

옙. 감사. 그러나 어떻게 사용합니까? Openssh-server – Tama

0

BTW sshpass는 이름 자체로 epel repos에서 사용할 수 있습니다. 아마도 yum 구성에 epel repo를 추가해야합니다.

[[email protected] ~]# yum whatprovides */sshpass 
Loaded plugins: product-id, security, subscription-manager 
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. 
centos                                     | 3.7 kB  00:00  
epel/metalink                                   | 8.4 kB  00:00  
epel                                      | 4.4 kB  00:00  
epel/primary_db                                   | 6.3 MB  00:03  
maprecosystem                                   | 951 B  00:00  
maprecosystem/primary                                 | 12 kB  00:00  
maprecosystem                                        74/74 
maprtech                                     | 951 B  00:00  
centos/filelists_db                                  | 5.9 MB  00:15  
epel/filelists_db                                  | 9.0 MB  00:07  
maprecosystem/filelists                                 | 333 kB  00:00  
maprtech/filelists                                  | 16 kB  00:00  
sshpass-1.05-1.el6.x86_64 : Non-interactive SSH authentication utility 
Repo  : epel 
Matched from: 
Filename : /usr/bin/sshpass 
0

기본 Centos 저장소에서 sshpass 패키지를 찾지 마십시오. epel-release 저장소를 설치 한 다음 sshpass 패키지를 설치해야합니다. centos에 epel-release를 설치하려면 아래 명령을 실행하십시오.

yum install epel-release