pydsh -n host1 -n host2 uptime
or
pydsh --node=host1 --node=host2 uptime
or
pydsh --node=host1-2 uptime
pydsh -a -- df -h
or
pydsh -a "df -h"
pydsh -n 192.168.0.1-254 uptime
pydsh -n Node1-10 uptime
pydsh -n host1 -n 192.168.0.1-100 --node=Node1-10 uptime
pydsh --user=USER2 -n host1 uptime
pydsh --user=root -a uptime
or
pydsh -s -a uptime
or
pydsh --sudo -a uptime
pydcp -a --scp_mode=send --scp_local=./filename
pydcp -a --scp_mode=send --scp_local=./filename --scp_remote=/tmp/cache/
host01 host02 192.168.0.1 192.168.0.2 localhost server.domain.com
The "-a" command line option is a shortcut to the all host group file. Any other host group file may be selected with the "--hostfile=" option.