in reply to Capturing SSH output in an array.

You really need to provide more information. You already have received answers from the best experts in your link.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh