Skip to content

Ruby script to help with the task of running commands on remote machines via ssh

Notifications You must be signed in to change notification settings

darrendao/ssh_voodoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ssh_voodoo

ssh_voodo is a Ruby script to help with the task of running commands on remote machines via ssh. It allows you to run commands remotely in parallel and helps cache your password (including sudo) so you don't have to keep on entering your password. There's also an option to use ssh key.

Installation

It's hosted on rubygems.org

sudo gem install ssh_voodoo

Usage

   ssh_voodoo -h
   Usage: ssh_voodoo [options]
     -s, --servers=SERVERS    Servers to apply the actions to. Comma-separated list, or path to file containing list of servers (newline delimited)
         --debug              Print lots of messages
         --use-ssh-key [FILE] Use ssh key instead of password
     -c, --command=STRING     What command to run on the remote server
         --username=USERNAME  What username to use for connecting to remote servers
         --dw=INTEGER         Number of workers for parallel ssh connections
         --connectiontimeout=INTEGER
                              Connection timeout
     -h, --help               Show this message

About

Ruby script to help with the task of running commands on remote machines via ssh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages