News for hackers. Stuff that matters.
Re:Cluster SSH (OSX) by geocar on Friday April 01, 2011 @05:11PM (#2398094)
> edit: woops

Exactly.

One-offs are easy to test interactively with cssh, and despite what anyone thinks, there are always one-offs in the real world.

Re:Cluster SSH (OSX) by ilikepi on Friday April 01, 2011 @05:23PM (#2398139)
True. Usually when creating a shell loop like this, I prepend 'echo' in front of 'ssh...' as a dry run first. I also wouldn't actually use something like this for commands that are destructive in nature. Usually it's for things like running informational commands ('rpm -q', 'uptime', etc). Of course anything can become destructive if you fat-finger it hard enough.

In short, use automation with care.