LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   rsync and ssh? (http://www.linuxquestions.org/questions/linux-newbie-8/rsync-and-ssh-289540/)

IchBin 02-13-2005 12:22 AM

rsync and ssh?
 
I'm trying to setup a cron job to rsync a few things to another computer. I understand I can do this command.

rsync /home/ichbin/www/ -ave ssh root@xx.xx.x.xx:/home/ichbin/backup

Is there anyway I can have it pass the password along in this command? So that I don't have to type in the password.

Or is there a better way to do this?

DoubleOTeC 02-13-2005 03:10 PM

with regards to the ssh part, you can use other forms of authentication, based on keys etc.

read up or man ssh to find out how to do the public key authentication option.

Theres a good article or thread on LQ about this...misplaced bookmark sadly...

hope this helps though...

Tinkster 02-13-2005 03:38 PM

http://www.linuxquestions.org/questi...der=descending


Look at david_ross' two linux answers ...


Cheers,
Tink

spurious 02-13-2005 03:39 PM

Using ssh without passwords: SSH Public Key Authentication

IchBin 02-13-2005 03:41 PM

Thanks everyone!


All times are GMT -5. The time now is 07:51 AM.