Parallel SSH Command Execution Utilities

I usually work on clusters of linux servers, so it’s handy to submit remote commands in parallel to the whole farm.

I have my own map.pl script for doing that that has different options for serial and parallel execution, immediate and sorted output, and timeouts.

Logging of commands and performance information might be a good idea.

I find it handy to maintain a small script that can be customized for different scenarios, especially if you maintain the server host and status information in a database.

Several Open Source projects have also sprung up.

Minimalist ssh-like command line tools:

Less minimal Distributed Virtual Terminal utilities:

SourceForge: search for “parallel ssh”
Parallel SSH execution and a single shell to control them all
pssh: Run Command On Multiple SSH Servers
Bitmover BitCluster

Leave a Reply