I've just uploaded Net::SCP::Expect-0.10 to cpan. Hope I didn't break anything.
I should mention that trying to predict the strings sent to stdout by various versions of ssh on various platforms feels like trying to staple jelly to the ceiling.
Send help.