Skip to main content

SSH into multiple hosts.

Project description

SSH Multi v0.8.3. SSH into multiple machines at once.

Examples:
Get a count of processes on each server:

sshm example1.com,example2.com,example3.com,mail[01-05].example.com,host[01-25].org “ps aux | wc -l”

Check if postfix is running on mail servers:

sshm mail[01-03].example.com “postfix status”

Verify which servers are accepting SSH connections:

sshm example[1-5].com “exit”

Copy a file to several servers. May not work for larger files.

cat some_file | sshm example[1-5].com “cat > some_file”

Specify a per-host port:

sshm example1.com:123,example2.com,example4.com:78 “exit”

Project details


Download files

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

Source Distribution

sshm-0.8.3.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distributions

sshm-0.8.3-py3.3.egg (11.7 kB view hashes)

Uploaded Source

sshm-0.8.3-py2.7.egg (11.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page