Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Rsync password usage
- Date: Fri, 18 Mar 2005 07:41:08 -0500
- From: Josh Glover <jmglov@example.com>
- Subject: Re: [tlug] Rsync password usage
- References: <20050318.174939.74752322.cmuller-lst@example.com> <20050318180531.K35896@example.com>
On Fri, 18 Mar 2005 18:08:04 +0900 (JST), Tod McQuillin <devin@example.com> wrote: > On Fri, 18 Mar 2005, Charles Muller wrote: > > > So I made the file /home/chuck/.pairpass and then tried > > > > rsync --delete --password-file=/home/chuck/.pairpass -ruvptl > > /mnt/win_d/docs/www.acmuller.net/public_html/test > > acmuller@example.com:public_html > > It isn't rsync that's asking for a password, it's ssh (or rsh). Mauro and Todd are right on. In more detail, here is what you need to do: 1. Follow the steps in the "Quick-N-Dirty Guide to Using OpenSSH Keypair Authentication". [1] Or alternately, check out ESR's ssh-installkeys, [2] a Python script that automates the process. 2. Make sure you can ssh from the machine where you are running the cron job to your webserver, without being prompted for a password. 3. Change your rsync line to: rsync --delete -ruvptl -e ssh \ /mnt/win_d/docs/www.acmuller.net/public_html/test \ acmuller@example.com:public_html 4. [Optional] Check out rdiff-backup, [3] a tool that uses librsync to generate differential backups. I run it out of cron every night to do my backups, and burn a DVD once a week. If interested, I can provide more information on how I do this. Cheers, Josh [1] http://www.qnd-guides.net/qnd-ssh-keypair [2] http://www.catb.org/~esr/ssh-installkeys/ [3] http://www.nongnu.org/rdiff-backup/
- Follow-Ups:
- Re: [tlug] Rsync password usage
- From: Charles Muller
- References:
- [tlug] Rsync password usage
- From: Charles Muller
- Re: [tlug] Rsync password usage
- From: Tod McQuillin
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] [tlug-digest] Large Network Systems
- Next by Date: Re: [tlug] AdBookWorkaround
- Previous by thread: Re: [tlug] Rsync password usage
- Next by thread: Re: [tlug] Rsync password usage
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links