If you set up public/private key authentication without a passphrase, you can scp and ssh without entering passwords. (usually, the ssh server can also be configured to restrict access to specific actions / programs for certain keys)
Check out the ssh-keygen program and your ssh server documentation.