title: how to automatically enter password when using ssh?
body: <p>How can I automate the entering of password in Perl?</p>
  
  <p>code: </p>
  
  <pre><code>my $makecmd .=  system "ssh remotehost;";
  system( "$makecmd" );
  </code></pre>
  
  <p>output:</p>
  
  <pre><code>Enter passphrase for key '~/.ssh/id_rsa':
  </code></pre>