Re: Rsync + ssh

From: Date: Wed, 08 Sep 2004 09:11:20 +0000
Subject: Re: Rsync + ssh
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-196110@lists.php.net to get a copy of this message
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 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 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. */

« previous php.general (#196110) next »