Skip to content

Instantly share code, notes, and snippets.

@xbeta
Last active August 29, 2015 14:03
Show Gist options
  • Save xbeta/e59006d8e2c3affacbc7 to your computer and use it in GitHub Desktop.
Save xbeta/e59006d8e2c3affacbc7 to your computer and use it in GitHub Desktop.
How to use PSSH
$ pssh --inline -h address.txt -p 5 -t 30 -x "-T -O StrictHostKeyChecking=no" -I < tasks.sh
-p : number of max concurrent connections
-t : timeout limit
-h : host files
-x : extra SSH binding arguments
--inline : display stdout and stderr as each host completes
-I : read input and send to each ssh process, used with command scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment