Parallel-SSH Documentation

License Latest Version https://travis-ci.org/ParallelSSH/parallel-ssh.svg?branch=master https://coveralls.io/repos/ParallelSSH/parallel-ssh/badge.png?branch=master Latest documentation

Parallel-SSH is a parallel SSH client library. It uses asynchronous SSH connections and is, to date, the only publicly available asynchronous SSH client library for Python, as well as the only asynchronous parallel SSH client library available for Python.

In a nutshell

from __future__ import print_function

from pssh.pssh_client import ParallelSSHClient

client = ParallelSSHClient(['localhost'])
output = client.run_command('whoami')
for line in output['localhost'].stdout:
    print(line)
Output:
<your username here>

Indices and tables