Wonders Of Cssh

Page content

If you need to run the same commands on multiple computers, then maybe you should be thinking about using puppet but if you only need to do a one time thing then there is clusters ssh aka cssh.

After a

apt-get install clusterssh

You can then start using it by simple typing

cssh server01 server02 etc etc

Another way to do it is include this in you .csshrc file

extra_cluster_file=~/.clusters

Then in you ~.clusters file you can add

qa 172.24.14.164 172.24.14.165 172.24.14.163 172.24.14.171 172.24.14.173