pssh: Run Command On Multiple SSH Servers

I have already written about tentakel tool and shell script hack to run a single command on multiple Linux / UNIX / BSD server. This is useful to save time and run UNIX commands on multiple machines. has published an article about a new and better tool called pssh:

Recently I come across a nice little nifty tool called pssh to run a single command on multiple Linux / UNIX / BSD servers. You can easily increase your productivy with this SSH tool.

If you want to increase your productivity with SSH, you can try a tool that lets you run commands on more than one remote machine at the same time. Parallel ssh, Cluster SSH, and ClusterIt let you specify commands in a single terminal window and send them to a collection of remote machines where they can be executed.

Read more about pssh here.

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 8 comments so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
8 comments… add one
  • Gavin Nov 3, 2008 @ 20:59

    Take a look at Dancer’s shell, too.

  • Dylan Jan 21, 2009 @ 23:15

    Hi guys,
    I’ve tried running these versions of pssh on RHEL 5.2:

    The older versions install but say Traceback (most recent call last):
    File "/usr/bin/pssh", line 21, in ?
    from basethread import BaseThread
    ImportError: No module named basethread

    The latest version doesn’t install error: Failed dependencies:
    python(abi) = 2.5 is needed by pssh-1.4.3-1.noarch

    Any ideas?

  • Tanweer Feb 18, 2009 @ 22:42

    I am also getting the same error on RHEL4 any success?
    error: Failed dependencies:
    python(abi) = 2.5 is needed by pssh-1.4.3-1.noarch

  • Tanweer Feb 18, 2009 @ 22:44

    installing version pssh-1.2.2-1 is OK

  • alok Aug 19, 2009 @ 5:07

    Hey !!
    I want to use pssh –options (-O) to add my key-file path and StrictHostKeyChecking=no
    How ca n i do it ??

  • Ulver Oct 29, 2009 @ 19:51

    does anyone faced tty alocation within pssh?

  • Ulver Oct 29, 2009 @ 19:52

    being more specific pseudo-tty allocation …something like

    ssh -t commandThatRequeriesTty

  • Anwar Oct 30, 2010 @ 14:57

    instead of this “Parallel Distributed shell” (pdsh) is the good option.
    PSSH is a bit typical to configure.

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum