Add helper method "capture", to get the output of ssh commands simply.

It's like "capture" method in Capistrano.
Thanks.