pssh package installation

Latest response

Does any Red Hat repo provides "pssh" package for installation ?


Hi Shisheer,

No, it is not in the Red Hat repositories - but you can install it from the EPEL repository :
(Replace "server" with "desktop" or "workstation" if you are using one of those editions.)

sudo subscription-manager repos --enable rhel-7-server-extras-rpms
sudo subscription-manager repos --enable rhel-7-server-optional-rpms

sudo rpm -Uvh

sudo yum update
sudo yum install pssh


also you can follow the link and you can add on to Christian's repost 4 other popular repos for Centos/Redhat

Hi Promise (is this your name ?),

I recommend to NOT add too many 3rd party repositories to the software sources - only add what's needed. :)
Some of them ship packages that conflict with packages being included in the other ones, it will lead to issues.


Hi Christain, You got it right, my name is Indeed Promise.

as for me im running my RHEL 7 Desktop using all repos listed in that blog. When i try to install something its just a nice thing for Yum to search all the repos for dependencies. This way when yum cannot find the dependencies in the repos below, then you know you will have to do a bit more googling to find a way to install an RPM.

Hi Promise ! Thanks for the information. I'm glad to read that the setup works fine for you. :)


how to install pssh

Hi ! :)

On RHEL 7 ? Just follow the instructions I have provided in my first response (above). On RHEL 8 ?

sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
sudo dnf install

sudo dnf upgrade
sudo dnf install pssh


Hi Team, has anyone gotten pssh to work in RHEL9 using Python3? I am able to install the pssh package but the commands fail as it is not playing nice with Python3. I have followed some google searches, and gone to the Parallel-SSH project page and done a git clone of the repo per suggestion and still ultimately end up with the solution not working. If anyone has gotten pssh to work in any way in RHEL 9 I would appreciate to know the steps. I will paste the errors I see below. Basic pssh command failures: pssh -H xlphxc36015 -i 'hostname' Traceback (most recent call last): File "/usr/local/bin/pssh", line 26, in from psshlib.cli import common_parser, common_defaults File "/usr/local/lib/python3.9/site-packages/psshlib/", line 9, in import version ModuleNotFoundError: No module named 'version'

ParallelSSH git clone solution failure: lin-dco-sandbox1>root>/tmp/pssh/parallel-ssh>>ll total 212K -rw-r--r-- 1 root root 24K Sep 23 17:25 COPYING.LESSER -rw-r--r-- 1 root root 18K Sep 23 17:25 COPYING -rw-r--r-- 1 root root 9.4K Sep 23 17:25 README.rst -rw-r--r-- 1 root root 128 Sep 23 17:25 -rw-r--r-- 1 root root 26K Sep 23 17:25 LICENSE -rw-r--r-- 1 root root 24K Sep 23 17:25 Changelog.rst drwxr-xr-x 2 root root 104 Sep 23 17:25 examples drwxr-xr-x 2 root root 4.0K Sep 23 17:25 doc -rw-r--r-- 1 root root 52 Sep 23 17:25 requirements.txt -rw-r--r-- 1 root root 2.4K Sep 23 17:25 -rw-r--r-- 1 root root 266 Sep 23 17:25 setup.cfg -rw-r--r-- 1 root root 130 Sep 23 17:25 requirements_dev.txt -rw-r--r-- 1 root root 69K Sep 23 17:25 drwxr-xr-x 5 root root 4.0K Sep 23 17:25 tests -rwxr--r-- 1 root root 322 Sep 23 17:35 drwxr-xr-x 4 root root 169 Sep 23 17:36 pssh lin-dco-sandbox1>root>/tmp/pssh/parallel-ssh>>python3 Traceback (most recent call last): File "/tmp/pssh/parallel-ssh/", line 1, in from pssh.pssh_client import ParallelSSHClient ModuleNotFoundError: No module named 'pssh.pssh_client' lin-dco-sandbox1>root>/tmp/pssh/parallel-ssh>>

How did you install pssh? Did you build it from source? If you install pssh from EPEL, it will be /usr/bin/pssh rather than /usr/local/bin/pssh.

Hi Akemi, thanks for the reply. I initially installed it from EPEL but it threw the above errors so I tried using the pip3 installer which yielded the same results. Lastly I tried the git clone solution which executes the pssh commands using a python script. All 3 scenarios appear to not work in RHEL 9.

Hi Team, after removing the 3rd party pssh via pip installer and reinstalling from EPEL, pssh is now working as expected. Sorry for the errant post.