Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] Rsync password usage



After having used rsync for a couple years to do backups among my
local machines, today for the first time (believe it or not), I tried
to get it working to my web site.

I succeeded with this:

    rsync --delete -ruvptl
    /mnt/win_d/docs/www.acmuller.net/public_html/test
    acmuller@example.com:public_html


Now I want to use cron, and so I'll need to have the password entered
automatically. The rsync man page has this option:

    --password-file=FILE    get password from FILE

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

But I am still getting the password challenge.

Is my error apparent?

Thanks,

Chuck

---------------------------
Charles Muller  

Toyo Gakuen University
Faculty of Humanities  
1660 Hiregasaki, Nagareyama-shi
Chiba 270-0161 JAPAN
Mobile Phone: 090-9310-1787

Web Site: Resources for East Asian Language and Thought
http://www.acmuller.net

<acmuller[at]jj.em-net.ne.jp>   


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links