Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Re: Desperate help needed with SSH
Brian Candler
5/19/2009 1:50:00 PM
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-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Re: Desperate help needed with SSH
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password