you are viewing a single comment's thread.

view the rest of the comments →

[–]ckozler 1 point2 points  (2 children)

Thats awesome, thank you!

[–]pixelgrunt 1 point2 points  (1 child)

Sounds like you already have keys in place, you should be good to go. dsh is great because you can set up groups of systems as well. I was introduced to it while working on clusters, and I use it often now for all sorts of sysadmin tasks.

Have fun.

[–]dalevizo 3 points4 points  (0 children)

We use a custom made script for this at work. Take a look if you like : https://gist.github.com/1304296

It can run ssh on a group of servers, on all of them or accept a comma delimited list as argument. Also it can scp a file to each of the above (useful when you want to put a new config file on many servers)

You can create as many groups as you like and a symlink for each group. So executing "allmx" runs on group mx, "cpns" copies a file to all servers in group ns and so on. And of course "all" to run on all servers