From: Brian Candler Date: 2009-05-19T22:49:47+09:00 Subject: Re: Desperate help needed with SSH unknown wrote: > I have a small problem thats driving me crazy. I am trying to connect to > multiple ssh servers (1 at a time), run a number of commands and capture > the output to a unique file for each server. Try using Net::SSH::Telnet (which is something I wrote to talk to routers). It hides the Net::SSH API behind a simple Net::Telnet one, and as a side benefit, you can write code which connects transparently using either telnet or ssh. Alternatively, looking at the Net::SSH::Telnet code may show you how to drive Net::SSH successfully. HTH, Brian. -- Posted via http://www.ruby-forum.com/.