mussh - Multihost SSH wrapper

2010-05-25 1 min read bash Fedora Linux

Description:

Mussh is a <a class="zem_slink freebase/en/shell_script" title="Shell script" rel="wikipedia" href="http://en.wikipedia.org/wiki/Shell_script">shell script that allows you to execute a command or script over ssh on multiple hosts with one command. When possible mussh will use <a class="zem_slink freebase/en/ssh-agent" title="Ssh-agent" rel="wikipedia" href="http://en.wikipedia.org/wiki/Ssh-agent">ssh-agent and RSA/DSA keys to minimize the need to enter your password more than once.

It is a utility for <a class="zem_slink freebase/en/system_administrator" title="System administrator" rel="wikipedia" href="http://en.wikipedia.org/wiki/System_administrator">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 &#8221;cat /etc/hosts&#8221; -h myhost.mydomain.com

Usage:

Usage: mussh [OPTIONS] <-h host.. | -H hostfile> [-c cmd] [-C scriptfile]<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://journalxtra.com/2010/05/scriptilitious-a-linux-scriptbox/">Scriptilitious – A Linux ScriptBox (journalxtra.com) <li class="zemanta-article-ul-li"><a href="http://thedailywtf.com/Articles/The-Certified-DBA.aspx">The Certified DBA (thedailywtf.com) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/03/21/using-ssh-keys-to-connect-to-a-server-puttysolarislinux/">Using SSH-keys to connect to a server – Putty,Solaris,Linux (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://www.ghacks.net/2010/05/14/some-cool-linux-tipstricks/">Some cool Linux tips/tricks (ghacks.net) <li class="zemanta-article-ul-li"><a href="http://blog.txwikinger.me.uk/content/configurations-ssh-make-some-things-more-convenient">Ralph Janke: Configurations for ssh that make some things more convenient (txwikinger.me.uk) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/2fd5c80b-1046-4738-98ad-dffaad857e32/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b83.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

comments powered by Disqus