From: James George Date: 2008-05-02T18:39:12+09:00 Subject: Re: using net::ssh shell to sudo to another user and execute I have got the shell to work, I would like to know if its possible to run a series of commands and retrieve the output without exiting the shell. Coz I hav an app and it needs to log into another server and run a couple of commands but each commands output determines whether to run the next command or not. Is it possible that I could do this without having to exit the shell each time to analyse the output? Please help guys... -- Posted via http://www.ruby-forum.com/.