App-ClusterSSH

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  - thanks for Stanislas Rouvelin for the idea
- Fix bug where unresolvable host stopped program running
  - thanks to Sami Kerola
- Add in config for auto-tearoff of send and host menus
  - thanks to James Chernikov for the idea
- Add in send menu xml definition file
  - thanks to James Chernikov for the idea

3.26_1 2009-06-02 Duncan Ferguson <duncan_ferguson@user.sf.net>

- Allow user to set a different ConnectTimeout and -o string (Tony Mancill)
- Fix warning from 'mandb' (Tony Mancill)
- Continue connecting to unresolvable hosts (debian bug 499935) (Tony Mancill)
- Correct bug with unset default ports (Tony Mancill)
- Rearrange pod documentation to remove extraenous comment (Tony Mancill)
- Cope better with IPv6 addresses
- Fix bug with passing arguments from command line to comms method binary
- Rework defaultport code
- Add new "-a 'command'" option for running a command in each terminal
- Fix bug with some host lookups failing
- Set window hints on terminals slightly differently to help with tiling

Changes  view on Meta::CPAN

- Start coding for window tiling
- Modify find_binary function to make it more portable
- Output internal vars in "-u -d"
- Small mods to docs to take account of all of the above

3.4 2005-04-26 Duncan Ferguson <duncan_ferguson@user.sf.net>

- Changed order of "use POSIX" to put :sys_wait_h first to avoid chance of 
  hitting known issue
- Allow for running from cvs dir in config{comms}
- Add "ConnectTimeout=10" to default ssh options
- Add further debug info
- Add check to ensure hostname can be resolved before attempting connection
- Modigy zombie reaping to prevent hand on unconnected cx term closing
- Add "autoquit" feature to close ClusterSSH after last client window closes
- Also produce man page and include as part of install

3.3 2005-04-10 Duncan Ferguson <duncan_ferguson@user.sf.net>

- src/cssh.pl: Rewritten from scratch
- Set up to use Gnu Autotools

README  view on Meta::CPAN


    --man, -H
        Show full help text (the man page) and exit

    --options '<STRING>', -o '<STRING>'
        Specify arguments to be passed to ssh when making the connection.
        NOTE: options for ssh should normally be put into the ssh
        configuration file; see "ssh_config" and $HOME/.ssh/config for more
        details.

        Default: -x -o ConnectTimeout=10

    --port <port>, -p <port>
        Specify an alternate port for connections.

    --quiet, -Q
        Do not output extra text when using some options

    --rows <rows>, -y <rows>
        Number of rows

README  view on Meta::CPAN

            Default key sequence to paste text into the console window using
            the mouse. See "KEY SHORTCUTS" for more information.

        rsh = /path/to/rsh
        ssh = /path/to/ssh
        telnet = /path/to/telnet
            Set the path to the specific binary to use for the communication
            method, else uses the first match found in $PATH

        rsh_args = <blank>
        ssh_args = "-x -o ConnectTimeout=10"
        telnet_args = <blank>
            Sets any arguments to be used with the communication method
            (defaults to ssh arguments).

            NOTE: The given defaults are based on OpenSSH, not commercial
            ssh software.

            NOTE: Any "generic" change to the method (e.g., specifying the
            ssh port to use) should be done in the medium's own config file
            (see "ssh_config" and $HOME/.ssh/config).

README  view on Meta::CPAN

    This performs two tests to confirm cssh is able to work properly with
    the settings provided within the $HOME/.clusterssh/config file (or
    internal defaults).

    1   Test the terminal window works with the options provided

    2   Test ssh works to a host with the configured arguments

    Configuration options to watch for in ssh are:

    *   SSH doesn't understand "-o ConnectTimeout=10" - remove the option
        from the $HOME/.clusterssh/config file

    *   OpenSSH-3.8 using untrusted ssh tunnels - use "-Y" instead of "-X"
        or use "ForwardX11Trusted yes" in $HOME/.ssh/ssh_config (if you
        change the default ssh options from "-x" to "-X")

SUPPORT AND REPORTING BUGS
    A web site for comments, requests, bug reports and bug fixes/patches is
    available at: <https://github.com/duncs/clusterssh>

lib/App/ClusterSSH/Getopt.pm  view on Meta::CPAN


# For options common to ssh sessions
sub add_common_ssh_options {
    my ($self) = @_;

    $self->add_option(
        spec => 'options|o=s',
        help => $self->loc(
            'Specify arguments to be passed to ssh when making the connection.  B<NOTE:> options for ssh should normally be put into the ssh configuration file; see C<ssh_config> and F<$HOME/.ssh/config> for more details.'
        ),
        default => '-x -o ConnectTimeout=10',
    );

    return $self;
}

# For options that work in ssh, rsh type consoles, but not telnet or console
sub add_common_session_options {
    my ($self) = @_;

    $self->add_option(

lib/App/ClusterSSH/Getopt.pm  view on Meta::CPAN


    output '=item rsh = /path/to/rsh';
    output '=item ssh = /path/to/ssh';
    output '=item telnet = /path/to/telnet';
    output $self->loc(
        q{Set the path to the specific binary to use for the communication method, else uses the first match found in [_1]},
        'C<$PATH>'
    );

    output '=item rsh_args = <blank>';
    output '=item ssh_args = "-x -o ConnectTimeout=10"';
    output '=item telnet_args = <blank>';
    output $self->loc(
        q{Sets any arguments to be used with the communication method (defaults to ssh arguments).

B<NOTE:> The given defaults are based on OpenSSH, not commercial ssh software.

B<NOTE:> Any "generic" change to the method (e.g., specifying the ssh port to use) should be done in the medium's own config file (see [_1] and [_2]).},
        'C<ssh_config>', 'F<$HOME/.ssh/config>'
    );

lib/App/ClusterSSH/Getopt.pm  view on Meta::CPAN

    output $self->loc(
        q{Test [_1] works to a host with the configured arguments},
        $self->parent->config->{comms} );
    output '=back';

    output $self->loc(q{Configuration options to watch for in ssh are:});
    output '=over';
    output '=item *';
    output $self->loc(
        q{SSH doesn't understand [_1] - remove the option from the [_2] file},
        'C<-o ConnectTimeout=10>',
        'F<$HOME/.clusterssh/config>'
    );
    output '=item *';
    output $self->loc(
        q{OpenSSH-3.8 using untrusted ssh tunnels - use [_1] instead of [_2] or use [_3] in [_4] (if you change the default ssh options from [_5] to [_6])},
        'C<-Y>',
        'C<-X>',
        'C<ForwardX11Trusted yes>',
        'F<$HOME/.ssh/ssh_config>',
        'C<-x>',

t/15config.t.file3  view on Meta::CPAN

max_host_menu_items=30
method=ssh
mouse_paste=Button-2
rsh_args=
screen_reserve_bottom=60
screen_reserve_left=0
screen_reserve_right=0
screen_reserve_top=0
show_history=0
ssh=/usr/bin/ssh
ssh_args= -x -o ConnectTimeout=10
telnet_args=
terminal=/usr/bin/xterm
terminal_allow_send_events=-xrm '*.VT100.allowSendEvents:true'
terminal_args=
terminal_bg_style=dark
terminal_colorize=1
terminal_decoration_height=10
terminal_decoration_width=8
terminal_font=6x13
terminal_reserve_bottom=0



( run in 0.274 second using v1.01-cache-2.11-cpan-a5abf4f5562 )