============
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]
Metadata
Release files for parallel-ssh 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| parallel-ssh-0.2.tar.gz | 3.2 kB | Without provenance | Details for parallel-ssh-0.2.tar.gz |
Release files / parallel-ssh-0.2.tar.gz
| Download URL | parallel-ssh-0.2.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0ac446977ecc59bc64a5915fc52c4f177189ad64a839b9ebcd361459993fd3e
|
|
BLAKE2b-256 checksum How to use checksums |
8ad452dc59d0a8974d73c608a97f4b4e14ecc0f4f22c4bc8a811ba9d75ab1ebb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for parallel-ssh 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.