pssh
Verified for current stable LTS
Pssh Command: Run Command On Multiple Hosts Inline Output
Use for run command on multiple hosts inline output with Pssh. Exact CLI syntax to run command on multiple hosts inline output using Pssh.
When to use this: Use for run command on multiple hosts inline output with Pssh.
Command Syntax
pssh -i -H "<host1> <host2>" <hostname --ip-addresses> pssh -i -H "<host1> <host2>" <hostname --ip-addresses> Command Breakdown
-i- Command Option
- Tool-specific option used by this command invocation.
-H- Command Option
- Tool-specific option used by this command invocation.
--ip-addresses>- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to run command on multiple hosts inline output using Pssh.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Pssh Command: Run Command As Root Prompt For Password
pssh -i -h <path/to/hosts_file> -A -l <root_username> <hostname --ip-addresses> Pssh Command: Run Command From File With Newline Separated Hosts pssh -i -h <path/to/hosts_file> <hostname --ip-addresses> Pssh Command: Run Command Limit Parallel Connections To 10 pssh -i -h <path/to/hosts_file> -p <10> '<cd dir; ./script.sh; exit>' Pssh Command: Run Command Save Output To Files pssh -H <host1> -H <host2> -o <path/to/output_directory> <hostname --ip-addresses> Pssh Command: Run Command With Extra Ssh Arguments pssh -i -h <path/to/hosts_file> -x "<-O VisualHostKey=yes>" <hostname --ip-addresses>