title: How does Perl handle password prompts?
body: <p>I'd like to pass a password through Perl. In my Perl script, it invokes SSH but gets stuck when the terminal is promoted for a password.</p>
  
  <p>I've looked into using NET::SSH::Perl and other libraries but as of now they are not viable options. I just need to SSH into the machine, retrieve a file and leave. </p>