in reply to
Installing Net::SSH::Perl on OS X, or how to run commands remotely
You might want to investigate using
Expect
for this task.
Comment on
Re: Installing Net::SSH::Perl on OS X, or how to run commands remotely
In Section
Seekers of Perl Wisdom