Thank you for your reply, it is suitable to do not change any thing in 
the server side, and the executable which I want to execute through 
ssh.exec shouting that need's sudo's permitting. Maybe my thinking could 
be wrong as I'm beginner, but it would be great if you can suggest 
anything strait-forward to get it done.

-- 
Posted via http://www.ruby-forum.com/.