Tool to connect to multiple SSH servers and broadcast commands.
Project description
Introduction
It's a little tool that allows you to connect to multiple SSH tunnels at the same time and broadcast commands instantly.
Installation
pip install master-ssh
Or clone from Github:
git clone https://github.com/JaanPorkon/master-ssh.git
cd master-ssh
python setup.py install
Usage
To run the program you can feed credentials to it from URL or from a file. Source of the web page and file must be in CSV format:
hostname,127.0.0.1,username,password
hostname2,127.0.0.2,username,password
Getting credentials:
master-ssh --cred-file /path/to/credentials.txt
or
master-ssh --cred-url https://mydomain.tld/credentials
or if you wish to connect to specific servers:
master-ssh --cred-url https://mydomain.tld/credentials --servers hostname,hostname2,...
Connecting to servers:
To send command to 1 server only use the following command pattern:
#[hostname] [command]
Examples:
To see all available internal commands write:
master-ssh$ #help
or just:
master-ssh$ #
If you wish to send your command to only 1 specific server, use the following command:
master-ssh$ #hostname uname -a
If you wish to send commands to more than 1 specific server just separate them with commas like this:
master-ssh$ #hostname,hostname2 uname -a
If you want to ignore specific servers from your server list, use the following command:
master-ssh$ #ignore:hostname,hostname2 uname -a
If you wish to close the program, simply write exit:
master-ssh$ exit
Project details
Release history Release notifications | RSS feed
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 master-ssh-2.0.8.1.tar.gz.
File metadata
- Download URL: master-ssh-2.0.8.1.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ca0d51571183c46f9fd93fb168d86a6b345b405a7280af346646deb4c6d043d
|
|
| MD5 |
0dfe1195c9f57161bc564992e8b64517
|
|
| BLAKE2b-256 |
bf072da242cca44ff66c86c9d0c9539c9730c7ebe2ea36cafe35be4eb99ec55a
|
File details
Details for the file master_ssh-2.0.8.1-py3-none-any.whl.
File metadata
- Download URL: master_ssh-2.0.8.1-py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
565a2d43715d97da17cfede63626f08327a0470f9143b9e33c93c1a7f7d5f9f9
|
|
| MD5 |
251a67df560ed7f148bf5b240639e1d6
|
|
| BLAKE2b-256 |
1eea4a623393906d2c2dba853a2fdaf38550b72b954d2fece6c95ad36d6cfda5
|