From: John Wilger Date: 2008-02-19T22:29:55+09:00 Subject: Re: Using net:ssh On Feb 19, 5:14 am, Valerio Schiavoni wrote: > what I want to do is the following: > - ssh into a remote machine (let's call it 'frontend') > - from the front-end, ssh into another machine (call it node-A) I've not used the Net::SSH library personally, so I can't give any specific help; but you might take a look through the code for Capistrano (http://rubyforge.org/projects/capistrano). IIRC, it supports tunneling an SSH connection through a "frontend" machine, so you may be able to figure it out by browsing the source. -- Regards, John Wilger