Skip to content

Instantly share code, notes, and snippets.

@Kairi
Last active October 11, 2016 15:18
Show Gist options
  • Select an option

  • Save Kairi/1aa3d87cd490f7c31e548d955e64743b to your computer and use it in GitHub Desktop.

Select an option

Save Kairi/1aa3d87cd490f7c31e548d955e64743b to your computer and use it in GitHub Desktop.
Do Local Script in remote machines parallelly.
# pssh 10.140.0.[3-7] example
pssh -H "`echo 10.140.0.{3..7}`" -i -I "bash -s" < local_script.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment