I am trying to create a backup script that will send the backup to an external server. I need to be able to do this securely also.
I'm running into a problem with sending the password for scp, and I know there is a way to create a public/private key for the two servers, but from what I've read the keys need to be created without a password. I'm not sure what the security risks are for doing this. Offhand it sounds dangerous.