Editing Pssh

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 9: Line 9:
 
   
 
   
 
  pssh: error: Command not specified.
 
  pssh: error: Command not specified.
 
 
 
 
<pre>
 
pssh --help
 
Usage: pssh [OPTIONS] command [...]
 
 
Options:
 
  --version            show program's version number and exit
 
  --help                show this help message and exit
 
  -h HOST_FILE, --hosts=HOST_FILE
 
                        hosts file (each line "[user@]host[:port]")
 
  -H HOST_STRING, --host=HOST_STRING
 
                        additional host entries ("[user@]host[:port]")
 
  -l USER, --user=USER  username (OPTIONAL)
 
  -p PAR, --par=PAR    max number of parallel threads (OPTIONAL)
 
  -o OUTDIR, --outdir=OUTDIR
 
                        output directory for stdout files (OPTIONAL)
 
  -e ERRDIR, --errdir=ERRDIR
 
                        output directory for stderr files (OPTIONAL)
 
  -t TIMEOUT, --timeout=TIMEOUT
 
                        timeout (secs) (0 = no timeout) per host (OPTIONAL)
 
  -O OPTION, --option=OPTION
 
                        SSH option (OPTIONAL)
 
  -v, --verbose        turn on warning and diagnostic messages (OPTIONAL)
 
  -A, --askpass        Ask for a password (OPTIONAL)
 
  -x ARGS, --extra-args=ARGS
 
                        Extra command-line arguments, with processing for
 
                        spaces, quotes, and backslashes
 
  -X ARG, --extra-arg=ARG
 
                        Extra command-line argument
 
  -i, --inline          inline aggregated output and error for each server
 
  --inline-stdout      inline standard output for each server
 
  -I, --send-input      read from standard input and send as input to ssh
 
  -P, --print          print output as we get it
 
 
Example: pssh -h hosts.txt -l irb2 -o /tmp/foo uptime
 
</pre>
 
 
  
 
==See also==
 
==See also==

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: