This project has been archived by its maintainers, and is no longer receiving any updates.
Run a shell command across multiple SSH servers in sequence.
Installation
pip install ssh-run
Usage
Show usage information with:
ssh-run –help
Examples
Run a command on a single remote host:
ssh-run -h example.com – echo hello world
Run a command on multiple remote hosts:
cat hosts | ssh-run -H - – echo hello world
Run a command on hosts matched by a chef search:
knife search -i “chef_evironment:staging” 2>/dev/null | ssh-run -H - – echo hello world
Start a shell for running multiple commands:
ssh-run -h host1 -h host2
Requirements
Runs on Python 2.6 and above, including Python 3.
Licence
ssh-run is licenced under the MIT Licence.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ssh-run-3.1.0.tar.gz.
File metadata
- Download URL: ssh-run-3.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99726e25cc038809cb846f175fa47cd5e47c44c8f2a976ef7a38c002f43562eb
|
|
| MD5 |
93a7340ffcb7c3a3d4a41ef159ea6c0a
|
|
| BLAKE2b-256 |
6d19fbdf674d194f6f566c98da35be54f89384a5b5d666ff7bb3579d63ff239a
|
File details
Details for the file ssh_run-3.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: ssh_run-3.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57ee213ed0add0a5684a15e9cef39cf8d32a402ac2ac15e4b1e2ec580efd9cad
|
|
| MD5 |
400b6d3c9b74100843cdc9f26b94e5b5
|
|
| BLAKE2b-256 |
7b144d010eee2fadd8853985d59399f2daf15893a64a97133d0f6015b4098063
|