Parallel-SSH Documentation

License Latest Version 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:
<your username here>

Indices and tables