Most of the time while working with networked systems we need SSH and SCP to remotely access data in remote systems. While automating them it may be necessary to have a password free SCP as it is required every time you push a file from remote to local machine or vice versa.
This link shows how to fix this by using password less SSH and SCP using OpenSSH.
http://www.thegeekstuff.com/2008/06/perform-ssh-and-scp-without-entering-password-on-openssh/