remotely execute commands in parallel with ssh on hostnames that match a regex.
Project description
## Parallel SSH with Regex
Usage:
./pypsh.py hostregex cmd
E.g.:
./pypsh.py “roled+.customer.your.domain” “uptime”
This matches every host in the known_hosts file against the regex and executes the command.
## Installation & Development:
For now:
git clone https://github.com/mfussenegger/pypsh.git cd pypsh mkvirtualenv pypsh pip install -r requirements.txt
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
pypsh-0.1.0.tar.gz
(1.8 kB
view hashes)