Tiny Core Linux

Tiny Core Extensions => TCE Talk => Extension requests => Topic started by: redwolf on April 08, 2012, 01:08:00 PM

Title: looking for keychain or comparable alternative to help automate backups via cron
Post by: redwolf on April 08, 2012, 01:08:00 PM
I need something like keychain so I can download some backups via cron.

I saw gnome-keychain in the repository...but I'm not using gnome....not sure if that will work or not.
Title: Re: looking for keychain or comparable alternative to help automate backups via cron
Post by: gerald_clark on April 08, 2012, 01:12:45 PM
Without going into more detail about your goals, it is difficult to give advice.
Why not just use scp with keys?
Title: Re: looking for keychain or comparable alternative to help automate backups via cron
Post by: redwolf on April 08, 2012, 01:28:49 PM
Basically, I'm trying to automate downloading some backup files from a website that I manage. 

I am using keys, but I've set a password on the key per the security guidance I've read on the subject...so I'm still prompted to enter the password for the key.  From what I understand, keychain would handle the password request for me assuming I had authenticated before the cron job ran, which would allow it to be fully automated.

Code: [Select]
5 1 * * * 6      rsync -rShz --remove-source-files --ignore-existing  -e "ssh -i /home/tc/.ssh/webdev_dsa -p 2222" \
echoarts@direct.kidsartcubby.com:backups/* /mnt/dm-1/backups/artcubby