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

A tool for running commands on remote servers

Project description

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.

Project details


Release history Release notifications

This version
History Node

3.1.0

History Node

3.0.0

History Node

2.4.0

History Node

2.3.1

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.0.3

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.5.1

History Node

0.5.0

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
ssh_run-3.1.0-py2.py3-none-any.whl (10.3 kB) Copy SHA256 hash SHA256 Wheel 2.7 Aug 18, 2015
ssh-run-3.1.0.tar.gz (5.5 kB) Copy SHA256 hash SHA256 Source None Aug 18, 2015

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