in reply to
Using Expect to handle Net::OpenSSH 2nd password prompt?
perhaps
Net::SSH::Expect
might be more appropriate here?
Comment on
Re: Using Expect to handle Net::OpenSSH 2nd password prompt?
In Section
Seekers of Perl Wisdom