Differences

This shows you the differences between two versions of the page.

Link to this comparison view

parallel-ssh [2015/06/01 15:24] (current)
Line 1: Line 1:
 +====== parallel-ssh ======
 +
 +Send commands to multiple hosts over SSH.
 +
 +Create a file named ''​ssh-hosts''​ with the username, hostname, and ports:
 +
 +<​code>​
 +steve@192.168.12.101:​22
 +steve@192.168.12.102:​22
 +steve@192.168.12.103:​22
 +</​code>​
 +
 +Execute a single command, no timeout, and print output on console:
 +
 +<​code>​
 +parallel-ssh -i -t 0 -h ssh-hosts echo hello
 +</​code>​