title: Replicating SCP command in Shell script in linux?
body: <p>Hi I have been given a task of copying files from a given server to local machine. Even I can do it manually using the command line but I need to write a script to automate it. I dont have any clue how to do it using shell, how to give the password which we would have done manually. I went through other posts but did not get the precise answer.</p>
  
  <p>Are there better ways than using SCP command?</p>
  
  <p>Thanks in advance</p>