title: Automatically enter SSH password with script
body: <p>I need to create a script that automatically inputs a password to OpenSSH <code>ssh</code> client.</p>
  
  <p>Let's say I need to SSH into <code>myname@somehost</code> with the password <code>a1234b</code>.</p>
  
  <p>I've already tried...</p>
  
  <pre><code>#~/bin/myssh.sh
  ssh myname@somehost
  a1234b
  </code></pre>
  
  <p>...but this does not work.</p>
  
  <p>How can I get this functionality into a script?</p>