parssh: Parallel SSH orchestration in a Bash session. ===================================================== Instructions ------------ - Source pars.sh to your Bash session: . pars.sh - Run *parssh* function for usage information: parssh --help - Run simple command on listed servers from list: parssh "md5sum /bin/bash" < SERVERLIST - Export FUNCTIONS and VARIABLES from local Bash session to remote hosts from SERVERLIST and execute: parssh "$(declare -f FUNCTIONS; declare -p VARIABLES); FUNCTIONS" < SERVERLIST - Export FUNCTIONS and VARIABLES from local Bash session to remote hosts from SERVERLIST and execute with a concurrency of 35, saving and displaying output along with the commands and meta-data as a header in the 'OUTFILE.out' and 'OUTFILE.err' files: parssh -35 -C -t OUTFILE "$(declare -f FUNCTIONS; declare -p VARIABLES); FUNCTIONS" < SERVERLIST