Ruby SSH Example With Error Handling
The following ruby snippet takes an array of commands as a parameter then runs all those commands via SSH.
You get back either a string containing an error or a hash that contains the results for each command, where the command is the key.
Posted on Monday, Mar 8, 2010

0 Comments
Leave a Comment