OT: scp question

Mike Wright mike.wright at mailinator.com
Sat Dec 21 17:00:42 UTC 2013

Hi everybody,

I'm trying to automate a box to box backup.

When I run the "scp" command from the command line it uses my 
public/private key pair and everything works well but if I execute the 
same command from a cron job the receiving end reports, "Failed 

Why does CLI use keys but the script use passwords?

Here is the command:

scp -r /home/mike/Backup/mysql

Thanks for any insight.

Happy Holidays to all,
Mike Wright

More information about the users mailing list