On 3/14/07, lance.sanchez / gmail.com <lance.sanchez / gmail.com> wrote:
><snip>

Maybe you would be better off using the net/ssh shell instead of
launching a shell over the channel.
http://net-ssh.rubyforge.org/chapter-5.html

Alternatively you might use channel.exec instead of channel.request
and channel.send_data that do not seem to be the right hammer for this
nail if I recall correctly.
http://net-ssh.rubyforge.org/chapter-4.html

HTH
Robert

-- 
You see things; and you say Why?
But I dream things that never were; and I say Why not?
-- George Bernard Shaw