Description:
Mussh is a shell script that allows you to execute a command or script over ssh on multiple hosts with one command. When possible mussh will use ssh-agent and RSA/DSA keys to minimize the need to enter your password more than once.
It is a utility for system administrators maintaining more than one hosts. The utility will help the admin to execute the same command on multiple hosts with a single command.
Here are few examples:
mussh -H ./linuxhosts -C spfiles/testscript.sh
mussh -c \”cat /etc/hosts\” -h myhost.mydomain.com
Usage:
Usage: mussh [OPTIONS] <-h host.. | -H hostfile> [-c cmd] [-C scriptfile]
Related articles by Zemanta
- Scriptilitious – A Linux ScriptBox (journalxtra.com)
- The Certified DBA (thedailywtf.com)
- Using SSH-keys to connect to a server – Putty,Solaris,Linux (amit-agarwal.co.in)
- Some cool Linux tips/tricks (ghacks.net)
- Ralph Janke: Configurations for ssh that make some things more convenient (txwikinger.me.uk)