Skip to main content

SSH executor for Sloth CI

Project description

Run actions on remote machines over SSH.

By default, Sloth CI apps run actions in a subprocess on the same machine they're running on. This extension overrides this and makes the app execute actions on remote machines over SSH.

You can authenticate with login and password or by providing key files.


.. code-block:: bash

$ pip install sloth-ci.ext.ssh_exec


.. code-block:: yaml
:caption: ssh_exec.yml

# Use the sloth_ci.ext.ssh_exec module.
module: ssh_exec

# Hosts, comma-delimited. Optional port number can be provided after ':' (if not specified, 22 is used).

# Username to use for authentication.
username: admin

# Password to use for authentication or to unlock a private key.
# password: foobar

# Additional private key files. If not specified, only the keys from the default location are loaded (i.e. ~/.ssh).
# keys:
# - ~/my_ssh_keys/key_rsa
# - somekey

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sloth-ci.ext.ssh_exec, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size sloth_ci.ext.ssh_exec-1.1.0-py3-none-any.whl (4.8 kB) File type Wheel Python version 3.5 Upload date Hashes View
Filename, size (141.5 kB) File type Windows Installer Python version any Upload date Hashes View
Filename, size (5.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page