I am trying to use net-ssh-multi to run a command on a group of servers. For this, taks ssh-key authentication is not an option; the password must be passed to each server defined in the session.use lines. Here the problem of "net / ssh" may take a password parameter, but "net / ssh / multi" cannot. I would like to do the following:
require 'net/ssh' require 'net/ssh/multi'
However, this is me:
file.rb: 35: at `start ': wrong number of arguments (1 to 2) (ArgumentError) from file.rb: 35
I know this is a bit of a n00b issue, but I would really appreciate help.
(http://rubydoc.info/gems/net-ssh-multi/1.1/Net/SSH/Multi)
source share