How to do two or more rsyncs with one password?

Brian Cluff brian at snaptek.com
Sun Aug 15 14:04:47 MST 2010


On 08/15/2010 01:52 PM, Kevin Fries wrote:
 > A bit snotty for someone asking for help!

Lets not go there, encryption can be a difficult concept for those that 
haven't ever touched it.  I think we tend to forget how some of these 
things come very easy to us and what we perceive as a push in the right 
direction is no more than a bunch of computer jargon they have never 
heard before.

> Set up ssh-server on each of your target machines.  Once key
> authentication is set up, I generally turn off password authentication,
> but that is just my paranoia.  Man for sah-keygen, the how to is right
> there.

There is a typo in his explanation, he means ssh-keygen
In a nutshell, you just run the program following the directions given 
and then copy the contents of id_rsa.pub file that it will create to the 
next line of the .ssh/authorized_keys file in the home directory of the 
destination machine.  You will probably have to create the file if keys 
have never been used on the system.

> Then man rsync and the switches to tunnel via ssh are right there.

This should be unnecessary as rsync uses ssh by default these days, and 
has for years.

Brian Cluff


More information about the PLUG-discuss mailing list