title: How to enter ssh password using bash?
body: <p>Everyday I am connecting to a server through ssh. I go through this routine:</p>
  
  <pre><code>IC001:Desktop user$ ssh user@my.server.com
  user@my.server.com's password: 
  
  Last login: Tue Jun  4 10:09:01 2013 from 0.0.0.0
  $
  </code></pre>
  
  <p>I would like to automate this process and create a bash script to do it for me. I don't care about security and okay to store my password openly in the script. I am also okay for it to get typed openly on the screen while the script gets executed. So I've created this:</p>
  
  <pre><code>#!/bin/bash          
  ssh user@my.server.com
  echo mypassword
  </code></pre>
  
  <p>But it doesn't work. I've also tried <code>send</code> instead of <code>echo</code>, but it also didn't work. Please advise if it is possible to do.</p>