Last active
August 29, 2015 14:03
-
-
Save xbeta/e59006d8e2c3affacbc7 to your computer and use it in GitHub Desktop.
How to use PSSH
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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