Skip to main content
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.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.ssh_exec


Usage
-----

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

extensions:
run_over_ssh:
# 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).
hosts:
- ssh.example.com
- myserver.com:23

# 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

Metadata

Release files for sloth-ci.ext.ssh_exec 1.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 sloth-ci.ext.ssh_exec 1.1.0
File Size Uploaded Provenance
sloth-ci.ext.ssh_exec-1.1.0.zip 5.3 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for sloth-ci.ext.ssh_exec 1.1.0
File Interpreter ABI Platform
sloth_ci.ext.ssh_exec-1.1.0-py3-none-any.whl Python 3 none any Details
sloth-ci.ext.ssh_exec-1.1.0.win-amd64.exe Details

Total release size: 151.6 kB

Release files / sloth-ci.ext.ssh_exec-1.1.0.zip

Download URL sloth-ci.ext.ssh_exec-1.1.0.zip
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d0c356d0c963ea7870252afbed188da56890889b4cc8df22faf852332c935540
BLAKE2b-256 checksum
How to use checksums
9e7384bbbce23ee7fa5dfcaa1688790e956fe57c0526d2eaa48df572f1c38b9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sloth_ci.ext.ssh_exec-1.1.0-py3-none-any.whl

Download URL sloth_ci.ext.ssh_exec-1.1.0-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9949b58b8e578cbe6364e940ed893332476f6c038bd7e05f5ff520596167b535
BLAKE2b-256 checksum
How to use checksums
7e93eda126c52c8646bab7a2b81dd2a215f18ad314b4e7f18e27af841c05b7be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sloth-ci.ext.ssh_exec-1.1.0.win-amd64.exe

Download URL sloth-ci.ext.ssh_exec-1.1.0.win-amd64.exe
Size 141.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0fc9a5a8315e30776b93183bae8ad0a1305374a6a2b39cd3cbb2bc275e0392f4
BLAKE2b-256 checksum
How to use checksums
7ccd1a1adbabf8f7aa5a18aa1e1e1b0ffdd46507ffdba5f370f2f0a3a934ba0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sloth-ci.ext.ssh_exec 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

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