Created
September 11, 2017 06:52
-
-
Save yunghoy/b981a0063f26372878b5b16be7b09047 to your computer and use it in GitHub Desktop.
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
| COMMAND='echo hello' | |
| if [ ! -z "$1" ]; then | |
| COMMAND=$1 | |
| fi | |
| parallel-ssh -i -h host.list -l ubuntu -x "-oStrictHostKeyChecking=no -i aws.key" $COMMAND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment