title: Security of sshpass
body: <p>How much secure of using sshpass?</p>
  
  <p>I read many discussions that sshpass is not secure, because it stores the password in log file as well as in history file. But if I use the following way, will it be secure?</p>
  
  <pre><code>pass=''
  if [ "$pass" == "" ];then
  read -s -p "Enter Your Password: " pass
  fi
  sshpass -p "$pass" ......
  </code></pre>