NAME

PyDSH

SYNOPSIS

pydsh <options> [command]
pydsh -h | --help

DESCRIPTION

PyDSH is a tool for running a command on a multiple remote hosts in parallel, and to ease the administration of SSH Public/Private keys.

OPTIONS

--timeout=<SEC>Set timeout in seconds.
-v, --verboseSet the program verbosity. Can be specified up to 5 times to display more information.
--versionDisplay the programs version and exit.

HOST OPTIONS

-a, --allAdd all hosts defined in the default host file.
--hostfile=<FILE>Add all hosts define in file <FILE>.
-i, --ignorefailedContinue even if some hosts fail connectivity tests.
-n <NODE>, --node=<NODE>Adds <NODE> to the hostlist. Nodes may be specified as hostnames, or ip addresses (either individually or as a range).
Examples:
-n localhost
-n server1-3
-n 10.1.1.3
-n 172.25.0.14-99
NOTE: For IP addresses ONLY the last segment is used for determining the range.

SHELL OPTIONS

--dryrunTests the connection to the remote hosts but does not run the command.
--passPrompt for password to login account.
--proto=<PROTO>Connect using Telnet, RSH or SSH (default).

SSH OPTIONS

--ssh_hostkey=<ACTION>SSH Host key checking. Actions are:
ACCEPT == Accept all keys offered.
ASK == Prompt for new/changed keys.
STRICT == Do not accept new/changed keys.
--ssh_keytype=<TYPE>SSH Private key type, RSA or DSA.
--ssh_pubkey=<ACTION>SSH Public key management. Actions are:
GEN == Generate new SSH Private keys (local system only).
INSTALL == Install available keys into remote systems authorized keys file.
REVOKE == Remove current key from remote systems authorized keys file.

USER OPTIONS

-s, --sudoAfter logging in, switch to root user.
--user=<USER>User to connect as (default as current user).

EXAMPLES

PyDSH Examples

AUTHORS

Dave Vehrs