Simultaneous Remote Command 0.1 review

Download
by rbytes.net on

Simultaneous Remote Command sends multiple commands to multiple servers simultaneously. When you manage several server, you can wa

License: GPL (GNU General Public License)
File size: 0K
Developer: Tdj
0 stars award from rbytes.net

Simultaneous Remote Command sends multiple commands to multiple servers simultaneously.

When you manage several server, you can want to run the same command on all the server (for security update for exemple).

I develop a small Python script to send command on a list of server. This script use ssh to run the command on all server. For example, it can manage to run a security update on Debian server with the send of "apt-get update;apt-get -y upgrade" command.

The Script

The Script use thread to send the command to each server simultaneously. The output of command is write to a file named < server_name >.log

Usage:

To use the script, download it and create the following file :

servers : one line by server name,
cmd : one line with the command to send (if you want a list of command, separate each command by ; on one line).

The script use ssh, but it cannot send the passphrase to ssh. Also you need to use the authentification with certificat and if you have a passphrase, you must use ssh-agent.

And now run the src.py command and wait the end of each command on each server.

Requirements:
Python

Simultaneous Remote Command 0.1 search tags