我想在centos上安装sshpass,因为我想在我们的系统上安装MapR。

我正在遵循此处给出的准则:
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,那就太好了。

提前致谢

最佳答案

BTW sshpass本身可以在epel仓库中使用。您可能应该将epel存储库添加到您的yum配置中。

[root@rh-1 ~]# 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

关于hadoop - 在centos上安装openssh,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/25329501/

10-11 16:54