How to do two or more rsyncs with one password?

joe at actionline.com joe at actionline.com
Mon Aug 16 08:19:09 MST 2010


On 08/15/2010 01:23 PM, joe at actionline.com wrote:
How can one do two or more rsyncs with entering the password just once?

Brian Cluff replied:
> ... do it with just one rsync call:
>
> rsync -avHp --progress subdir1 subdir2 subdir3
> webhost at box000.bluehost.com:www/

Thanks Brian. That is exactly what I was looking for.

> ... if you need to copy into several different destination
> directories, set up a shared key for ssh and copy the public key
> over to the destinations authorized_keys file.

That is also a very helpful suggestion (others have recommended),
but just haven't got it done yet.





More information about the PLUG-discuss mailing list