On Wednesday 08 September 2004 17:10, Syed Ghouse wrote:

> i m using rsync command to transfer files from server to server.
>
> i use the below code
>
> rsync --password-file .passfile ssh [EMAIL PROTECTED]:/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

NB this whole question is OT, please find a more appropriate list.

To use ssh without passwords set up key files. Then use the following:

 rsync -av -e 'ssh -i /path/to/ssh/keyfile' /src /dest

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
There *__is* intelligent life on Earth, but I leave for Texas on Monday.
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to