background preloader

Systems & software

Facebook Twitter

VNX SAN

Ancient Computing. MacOS. Media servers. CommercialEmail. Programming. Python. Data Robotics -- drobo. Green doesn't have to make you Blue! WebDev. Numpy and scientific computing. Interesting Package review: mussh (tummy.com, ltd. Journal Entry. Yet another small package that I use all the time that not too many folks may know about is mussh (MUlti host SSH wrapper). Read on for a quick overview of this useful script. mussh is a small shell script that allows you to run a command on a list of hosts, without having the hassle of logging into each host and doing the command. You can run it to connect to each host in turn, or fork off asynchronously and run the command on all the hosts at the same time. mussh will use ssh-agent if it's setup and your keys are loaded, so you will only need to type passwords as much as you would need to normally if you were logging into each host.

I use mussh every day. For example, I have a file that has a list of all my personal machines, one per line like: root@hosta root@172.17.17.17 Then, I can run mussh like so: “mussh -H .hosts/localhosts -c 'yum check-update' ” for example to run a 'yum check-update' on each of the hosts in turn to see what updates are pending. Vmcontroller - Project Hosting on Google Code.

Linux and systems