passing ssh password to rsync without prompting it
jack alex
emailssent at yahoo.com
Thu Dec 2 07:02:15 GMT 2004
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 at 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
More information about the rsync
mailing list