On you local machine (mac, for example), run the following command:
ssh-keygen -t rsa -C "your_email@youremail.com"
Then copy the content of ~/.ssh/id_rsa.pub and add it to the remote machines ~/.ssh/authorized_keys. Now you can scp to remote machine without passing password.