Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

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


Download files

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

Files for master-ssh, version 2.0.8.1
Filename, size File type Python version Upload date Hashes
Filename, size master_ssh-2.0.8.1-py3-none-any.whl (7.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size master-ssh-2.0.8.1.tar.gz (6.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page