Rsync + ssh
| From: | Syed Ghouse | Date: | Wed, 08 Sep 2004 09:10:22 +0000 |
| Subject: | Rsync + ssh | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196108@lists.php.net to get a copy of this message | ||
Hi All
i m using rsync command to transfer files from server to server.
i use the below code
rsync --password-file .passfile ssh remoteuser@remotehost:/remote/dir /localdir/dir/
where .passfile has the password...
But eventhough i have passed the password file it asks for password...
Tell me how t use the rsync command with ssh and without prompting for password
Regards
Syed