About
pymultissher is a simple CLI tool that runs commands on multiple servers over SSH.
Why "yet another" SSH tool?
There is already endless number of tools and utilities, which are able to run commands on a cluster of servers over SSH (e.g., ansible, fabric, paramiko, you-name-it). However, from time to time you just need a simple and straightforward CLI tool, which take a list of domains and runs a list of command on them over SSH and aggregates output. This is exactly what pymultissher is trying to accomplish.
P.S. SSH heavy-lifting is done by Paramiko
How it works?
The utility relies on two YAML configuration files to control its operations:
domains.yml: This file defines default SSH values and domain names. Each domain can have its own set of SSH parameters.commands.yml: This file specifies the commands to be executed over SSH connections.
You can generate these initial configuration files using the init argument.
The utility also allows using custom YAML configuration files to store domain information and commands.
Getting Started
- Install
pip install --upgrade pymultissher - Generate initial configuration files
pymultissher init - Edit YAML configuration files according to needs
- List available CLI parameters
pymultissher --help - Running with
--dry-runoption, which will not executed any commands over SSHpymultissher run-command --command "whoiam" --dry-run - Utility could also be started as a Python module. Here is an example:
python -m pymultissher --help
Usage: CLI
Output of the CLI command:
pymultissher --help
N.B. CLI could be also run as a Python module: python -m pymultissher --help
Documentation
Contributing
Please, check CONTRIBUTING.rst
License
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymultissher-0.4.2.tar.gz.
File metadata
- Download URL: pymultissher-0.4.2.tar.gz
- Upload date:
- Size: 72.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87a6dd37c969f5a0da5df352ee28afbfac0c5b17791959226ee7c766f2c3abaf
|
|
| MD5 |
8b89623bb891adba7a6c327735a0eb32
|
|
| BLAKE2b-256 |
f32eebb66c5f4e8c502eb17e88230f09ba15fc22e1969beae228f1cbe77f9f78
|
Provenance
The following attestation bundles were made for pymultissher-0.4.2.tar.gz:
Publisher:
publish-to-pypi.yml on vdmitriyev/pymultissher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pymultissher-0.4.2.tar.gz -
Subject digest:
87a6dd37c969f5a0da5df352ee28afbfac0c5b17791959226ee7c766f2c3abaf - Sigstore transparency entry: 2373855302
- Sigstore integration time:
-
Permalink:
vdmitriyev/pymultissher@8944bb09c748dc5fe1e2265f36f85ebff51b5bfb -
Branch / Tag:
refs/tags/0.4.2 - Owner: https://github.com/vdmitriyev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8944bb09c748dc5fe1e2265f36f85ebff51b5bfb -
Trigger Event:
push
-
Statement type:
File details
Details for the file pymultissher-0.4.2-py3-none-any.whl.
File metadata
- Download URL: pymultissher-0.4.2-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccb7b46be1e057861b9b04d156d4a0896317e7f30daa4db721bdd132e7ccab31
|
|
| MD5 |
2adb42029321a059baf181b8ef9e3ce1
|
|
| BLAKE2b-256 |
a22b5bdbc40d8e8b47f320bad5d2f10ac28f0946a861fddc88782f7e9bb5ec6b
|
Provenance
The following attestation bundles were made for pymultissher-0.4.2-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on vdmitriyev/pymultissher
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pymultissher-0.4.2-py3-none-any.whl -
Subject digest:
ccb7b46be1e057861b9b04d156d4a0896317e7f30daa4db721bdd132e7ccab31 - Sigstore transparency entry: 2373855525
- Sigstore integration time:
-
Permalink:
vdmitriyev/pymultissher@8944bb09c748dc5fe1e2265f36f85ebff51b5bfb -
Branch / Tag:
refs/tags/0.4.2 - Owner: https://github.com/vdmitriyev
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@8944bb09c748dc5fe1e2265f36f85ebff51b5bfb -
Trigger Event:
push
-
Statement type: