Metadata-Version: 2.0
Name: ssh-run
Version: 2.3.1
Summary: A tool for running commands on remote servers
Home-page: https://github.com/borntyping/ssh-run
Author: Sam Clements
Author-email: sam@borntyping.co.uk
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: License :: OSI Approved
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Build Tools
Classifier: Topic :: System :: Systems Administration
Classifier: Topic :: Utilities
Requires-Dist: click
Requires-Dist: pexpect
Requires-Dist: termcolor

ssh-run
=======

.. image:: https://img.shields.io/pypi/v/ssh-run.svg
    :target: https://warehouse.python.org/project/ssh-run/
    :alt: ssh-run on PyPI

.. image:: https://img.shields.io/pypi/l/ssh-run.svg
    :target: https://warehouse.python.org/project/ssh-run/
    :alt: ssh-run on PyPI

.. image:: https://img.shields.io/github/issues/borntyping/ssh-run.svg?style=flat-square
    :target: https://github.com/borntyping/ssh-run/issues
    :alt: 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 <http://opensource.org/licenses/MIT>`_.

Author
------

Written by `Sam Clements <https://github.com/borntyping>`_ at
`DataSift <https://datasift.com/>`_.


