Skip to content

Instantly share code, notes, and snippets.

@kumikoda
Created February 13, 2015 20:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kumikoda/47e9b4afc752568d2099 to your computer and use it in GitHub Desktop.
Save kumikoda/47e9b4afc752568d2099 to your computer and use it in GitHub Desktop.
pssh cheatsheet

pssh -t 0 -o output -h hosts "echo hello world"

// -t : timeout, 0 for no timeout // -o : name of folder to write output // -h : file with hostnames, one per line

// put the following in your ssh config so you won't be prompted StrictHostKeyChecking no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment