We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dc39d4 commit ba91da4Copy full SHA for ba91da4
README.md
@@ -6,12 +6,13 @@ Small wrapper library over paramiko that allows for parallel execution of SSH co
6
.. image:: https://api.travis-ci.org/pkittenis/parallel-ssh.png?branch=master
7
:target: https://travis-ci.org/pkittenis/parallel-ssh
8
9
-###
10
Example
11
+============
12
+```python
13
from pssh import ParallelSSHClient
14
hosts = ['myhost1', 'myhost2']
15
client = ParallelSSHClient(hosts)
16
cmds = client.exec_command('ls -ltrh /tmp/aasdfasdf', sudo = True)
17
print [client.get_stdout(cmd) for cmd in cmds]
18
+```
0 commit comments