title: SFTP prompting for password even though password is in script
body: <p>I am trying to transfer a file from one server to a remote server using SFTP. Client is not ready for key setup so 
  I have gone through other questions on this forum related to SFTP and tried all. But still its not working in my case.</p>
  
  <p>My Script :-</p>
  
  <pre><code>#!/bin/sh
  # sample automatic ftp script to dump a file
  USER="username"
  PASSWORD="password"
  HOST="hostname"
  sftp $USER@$HOST &lt;&lt; EOF
  $PASSOWRD
  cd test_path
  put test_file.txt
  quit
  EOF
  </code></pre>