title: Is it possible to automate ssh login WITH passwd (not passphraseless ssh)
body: <p>Regardless of security issues, I want to automate ssh login by putting password into a script file (in form of plaintext). For example, I tried following, but without success...</p>
  
  <blockquote>
    <p>echo "mypassword" | ssh -X root@remote_node_address</p>
  </blockquote>
  
  <p>it still prompt with password inputs...</p>
  
  <p>Edit: I am aware of setting up passphraseless ssh (and actually have done this). What my question really is is how to automate process of setting up passphraseless ssh...</p>