Skip to content

Instantly share code, notes, and snippets.

@eam
Created February 4, 2016 18:22
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 eam/545dc3e0a185259158b1 to your computer and use it in GitHub Desktop.
Save eam/545dc3e0a185259158b1 to your computer and use it in GitHub Desktop.
$ mssh -t 10 -c -r "foo1..10.site.com, @databases - @secure_hosts" 'md5sum /etc/passwd'
foo{1..4,7..10}.site.com,db001..007.site.com: '928c3a57983e701b53a52c9e45da38e5 /etc/passwd'
foo5..6.site.com: '4b49612f85a5a64eed93a53c35eec1c9 /etc/passwd'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment