password problem with rsync

jw schultz jw at
Wed Oct 1 05:43:24 EST 2003

On Tue, Sep 30, 2003 at 07:23:58PM +0000, Payal Rathod wrote:
> On Tue, Sep 30, 2003 at 03:15:42PM -0400, Ron DuFresne wrote:
> > don't invlove the network levels, this is merely a filesystem to 
> > filesystem 'copy', with permission ,ownership retention.  the ley is to 
> > do this uder an account with the proper perms to read the filesystem 
> > totally and use the proper rsync capabilities.  This means as root under 
> > a unix like OS and as administrator or similiar account under M$ OS'.
> > 
> > rsync -${params} /home/accounts  /newhome/accounts
> But I want them to be copied from one maxchine to another over network.
> In this case what do you suggest?

If all you care about is copying: scp.  If you don't care
about security: rcp or ftp and ftp wrappers.  There is also
nfs, smb or other networked filesystems if on a local network.

If you want to update/synchronise, then i'd suggest rsync.
Again, if you care about security, do it over ssh.  If you
don't, then rsh.  If the data needn't be secure, just the
account, you could use an rsync daemon but that is much more

> > >>>$ rsync --password-file=pass -e ssh -av legal.txt 
> > >>>accounts at
> > >>>accounts at's password:
> > >>>     
> > >>>
> > >>Please refer to the ssh documention for how to setup ssh connections
> > >>without being prompted (rsync does not do this for you).  Hint:  look at
> > >>ssh-agent for one solution.  Note also that the --password-file option
> > >>refers to connecting to a remote rsync daemon, which is not what you're
> > >>doing.
> > >>   
> > >>
> > >
> > >You may suggest me another way without ssh. I don't want ssh. I didn't
> > >knew of anyother way.
> > >I just want to copy few users homedirectories.

I'd suggest you get over any aversion to ssh.  Once
configured it is the easiest and most secure method to use.
And using any other method for remote login except on a
private (no route to internet) network is inviting trouble.

	J.W. Schultz            Pegasystems Technologies
	email address:		jw at

		Remember Cernan and Schmitt

More information about the rsync mailing list