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. Linux.com 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.
🐧 8 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
instead of this “Parallel Distributed shell” (pdsh) is the good option.
PSSH is a bit typical to configure.
being more specific pseudo-tty allocation …something like
ssh -t commandThatRequeriesTty
does anyone faced tty alocation within pssh?
Hey !!
I want to use pssh –options (-O) to add my key-file path and StrictHostKeyChecking=no
How ca n i do it ??
installing version pssh-1.2.2-1 is OK
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
Hi guys,
I’ve tried running these versions of pssh on RHEL 5.2:
pssh-1.2.2-1.el4.rf.noarch.rpm
pssh-1.2.2-1.fc3.rf.noarch.rpm
pssh-1.2.2-1.rh9.rf.noarch.rpm
pssh-1.4.0-1.fc10.noarch.rpm
pssh-1.4.3-1.noarch.rpm
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?
Thanks
Take a look at Dancer’s shell, too.