title: How to use ssh command in shell script?
body: <p>I know that we shuld do
  ssh user@target
  but where do we specify the password ?</p>
  
  <hr>
  
  <p>Hmm thanks for all your replies.
  My requirement is I have to start up some servers on different machines. All servers should be started with one shell script. Well, entering password every time seems little bad but I guess I will have to resort to that option. One reason why I don't want to save the public keys is I may not connect to same machines every time. It is easy to go back and modify the script to change target addresses though.</p>