Re: secure copy without user input
> I would like to be able to run a crontab where I could "scp" some files
> to a remote location....but so no user input for passwords is
> Could some point me to where I could find info
> on how to do this?
> Thanks for your time!
> To UNSUBSCRIBE, email to email@example.com
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
This is quite simple. Just run ssh-keygen and an empty passphrase.
By default the key generated will be put in .ssh/identify.pub copy the
line into the .ssh/authorized_keys into the home folder of target machine,
and you should be able to ssh and scp into the target machine without password.
man ssh-keygen and man ssh should give further help if needed.