Greetings !
                                                      
                                         
how to disable ssh password for rysnc without
generating ssh keys,
                                                      
                                         
- then i tried using "--password-file" option but it
is not
  picking password from "password" file
                                                      
                                         
- "password" file is present on the backup server
                                                      
                                         
- i don't know how to RYSNC_PASSWORD, whether it
supports
  ssh password or not.
                                                      
                                         
                                                      
                                         
SCRIPT
======set $(date)
                                                      
                                         
                                                      
                                         
rsync -e ssh  -avz --delete
--passwrod-file=/root/password
root@192.192.192.180:/home/sal/ /home/backuplt/sal/ 
2>&1 >
/var/log/backuplt_log/sal_backup_$6-$4-$3-$2.log
                                                      
                                         
                                                      
                                         
So, why it is not picking password from password file
and any other idea to pass ssh password to rsync
without prompting it. 
                                                      
                                         
Is there any syntax error in my script.
                                                      
                                         
                                                      
                                         
Any help appreciated.
                                                      
                                         
                                                      
                                         
                                                      
                                         
-jack
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail
On Wed, Dec 01, 2004 at 11:02:15PM -0800, jack alex wrote:> So, why it is not picking password from password file and any other > idea to pass ssh password to rsync without prompting it.This is because the option only affects rsync's use of an rsync daemon. Rsync has no options that affect ssh's password prompting. You should get ssh working as needed without rsync being involved (perhaps running a simple command such as "uptime") and then use that technique with rsync. However, if you've ruled out ssh keys, your only other choice may be some kind of host-based authentication. See the ssh docs for details. ..wayne..
Yes that worked! thanks very much!! Hong> -----Original Message----- > From: Wayne Davison [mailto:wayned@samba.org] > Sent: Friday, December 03, 2004 3:08 PM > To: Hong Zhu > Cc: mailinglists@madmarty.de; rsync@lists.samba.org > Subject: Re: how to exclude hidden files/directories > > > On Fri, Dec 03, 2004 at 02:29:57PM -0500, Hong Zhu wrote: > > how am I able to exclude hidden directories to be transferred? > > Immediately prior to the --include="*/" add this: > > --exclude=".*/" > > ..wayne.. >