Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Wrapper library over paramiko to allow remote execution of tasks. Supports parallel execution on multiple hosts

Project description

parallel-ssh
============

Small wrapper library over paramiko that allows for parallel execution of SSH commands on remote hosts and executing simple single host commands over SSH

.. image:: https://api.travis-ci.org/pkittenis/parallel-ssh.png?branch=master
:target: https://travis-ci.org/pkittenis/parallel-ssh

************
Installation
************
To install gevent you need the libevent-dev package installed. Instructions below are for apt-get systems, substitute with your own package manager if necessary.

::

$ sudo apt-get install libevent-dev
$ pip install parallel-ssh

************
Usage Example
************

>>> from pssh import ParallelSSHClient
>>> hosts = ['myhost1', 'myhost2']
>>> client = ParallelSSHClient(hosts)
>>> cmds = client.exec_command('ls -ltrh /tmp/aasdfasdf', sudo = True)
>>> print [client.get_stdout(cmd) for cmd in cmds]

Project details


Release history Release notifications

History Node

1.7.0

History Node

1.6.3

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.5.5

History Node

1.5.4

History Node

1.5.2

History Node

1.5.1

History Node

1.5.0

History Node

1.4.0

History Node

1.3.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.1.post3

History Node

1.2.1.post2

History Node

1.2.1.post1

History Node

1.2.0

History Node

1.2.0b1

History Node

1.1.1

History Node

1.1.0

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

1.0.0b4

History Node

1.0.0b3

History Node

1.0.0b2

History Node

1.0.0b1

History Node

0.94.0

History Node

0.93.0

History Node

0.92.2

History Node

0.92.1

History Node

0.91.2

History Node

0.91.1

History Node

0.91.0

History Node

0.90.0

History Node

0.80.7

History Node

0.80.6.post1

History Node

0.80.6

History Node

0.80.5

History Node

0.80.3

History Node

0.80.2

History Node

0.80.1

History Node

0.70.4

History Node

0.70.3

History Node

0.70.2

History Node

0.70.1

History Node

0.70

History Node

0.61

History Node

0.7

History Node

0.6

History Node

0.5

History Node

0.4

History Node

0.3

This version
History Node

0.2

History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
parallel-ssh-0.2.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Feb 19, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page