Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

ssh-run on PyPI ssh-run on PyPI GitHub issues for ssh-run

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.

Author

Written by Sam Clements at DataSift.

Release files for ssh-run 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ssh-run 3.1.0
File Size Uploaded
ssh-run-3.1.0.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ssh-run 3.1.0
File Interpreter ABI Platform
ssh_run-3.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 15.8 kB

Release files / ssh-run-3.1.0.tar.gz

Download URL ssh-run-3.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
99726e25cc038809cb846f175fa47cd5e47c44c8f2a976ef7a38c002f43562eb
BLAKE2b-256 checksum
How to use checksums
6d19fbdf674d194f6f566c98da35be54f89384a5b5d666ff7bb3579d63ff239a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ssh_run-3.1.0-py2.py3-none-any.whl

Download URL ssh_run-3.1.0-py2.py3-none-any.whl
Size 10.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
57ee213ed0add0a5684a15e9cef39cf8d32a402ac2ac15e4b1e2ec580efd9cad
BLAKE2b-256 checksum
How to use checksums
7b144d010eee2fadd8853985d59399f2daf15893a64a97133d0f6015b4098063
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page