title: sshpass not working properly
body: <p>I'm using sshpass to pass the password non-interactive on ubuntu 11.04.</p>
  
  <p>when I use sshpass with scp </p>
  
  <pre><code>sshpass -p '123' scp sayuj@192.168.1.51:/home/sayuj/examples.desktop ~/Desktop/
  </code></pre>
  
  <p>it works fine</p>
  
  <p>but it doesn't work with ssh</p>
  
  <pre><code>sshpass -p '123' ssh sayuj@192.168.1.51
  </code></pre>
  
  <p>What could be the problem and how do I fix it?</p>