NAME

mssh - Multi host ssh executer

VERSION

This documentation refers to mssh version 0.12.

SYNOPSIS

  mssh [ --VERSION | --help | --man ]
  mssh [ -t | --test ] [ -v | --verbose ] -h host [-h host2 ..] 'remote command'
  mssh [ -t | --test ] [ -v | --verbose ] host [host2 ...] 'remote command'
  mssh [ -t | --test ] [ -v | --verbose ] [-c|--cssh|-m|--tmux] -h host [-h host2 ..]

OPTIONS:
 'remote command'
                 The command to execute on the remote hosts.
 host            See --host, only use if specifying a remote command

 -h --host[=]str Host or range of hosts to execute 'remote command' on
                 The range must be sourounded by [] and can be either comma
                 seperated integer/letters or .. for a range of all values
                 from the first to last. Note if clusterssh (cssh) is
                 installed and no 'remote command' specified C<cssh> will
                 be run, similarly if tmux is installed.
                 EG [0..5] for 1,2,3,4 and 5
                    [0,5]      1 and 5
                    [0..3,5]   1,2,3 and 5
                    [0-5]      1,2,3,4 and 5
                    [0-3,5]    1,2,3 and 5
                    {0..5} for 1,2,3,4 and 5
                    {0,5}      1 and 5
                    {0..3,5}   1,2,3 and 5
                    {0-5}      1,2,3,4 and 5
                    {0-3,5}    1,2,3 and 5
 -p --parallel[=]int
                 Fork calls to each server to run in parallel the value limits
                 the number of processes called at once.
                 Note without --interleave you wont see results until the each
                 server has completed so that results are groupped.
 -i --interleave When running parallel commands interleave the output of each host
 -t --test       Just show all the commands that would be run don't actually
                 run anything
 -f --fork       Fork the ssh processes so they run in parallel (output may
                 not be legible)
 -c --cssh       Use cssh to run the ssh commands
    --cssh-cmd[=]str
                 Use str as the C<cssh> program (defaults to cssh found in $PATH)
 -m --tmux       Create a tmux session with each window pane connecting to a host
    --tmux-cmd[=]str
                 Use str as the C<tmux> program (defaults to tmux found in $PATH)

 -v --verbose    Show more detailed option
    --VERSION    Prints the version information
    --help       Prints this help information
    --man        Prints the full documentation for mssh

DESCRIPTION

SUBROUTINES/METHODS

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

INCOMPATIBILITIES

BUGS AND LIMITATIONS

There are no known bugs in this module.

Please report problems to Ivan Wills (ivan.wills@gmail.com).

Patches are welcome.

AUTHOR

Ivan Wills - (ivan.wills@gmail.com)

LICENSE AND COPYRIGHT

Copyright (c) 2012 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW 2077). All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.