CmdID

CmdID / Commands

pssh

Parallel SSH program. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run a command on two hosts, and print its output on each server inline

pssh --inline --host "host1 host2" hostname --ip-addressesIdentify

Run a command and save the output to separate files

pssh --host host1 --host host2 --outdir path/to/output_directory hostname --ip-addressesIdentify

Run a command on multiple hosts, specified in a new-line separated file

pssh --inline --hosts path/to/hosts_file hostname --ip-addressesIdentify

Run a command as root (this asks for the root password)

pssh --inline --hosts path/to/hosts_file --askpass --user root_username hostname --ip-addressesIdentify

Run a command with extra SSH arguments

pssh --inline --hosts path/to/hosts_file --extra-arg "-O VisualHostKey=yes" hostname --ip-addressesIdentify

Run a command limiting the number of parallel connections to 10

pssh --inline --hosts path/to/hosts_file -par 10 'cd dir; ./script.sh; exit'Identify