[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync question



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 7/02/2015 12:01 PM, Curtis Vaughan wrote:
> That seems to work, but here's a problem. Each time it enters a new user 
> directory I have to re-enter the root password. I realize I can just set 
> it up so that I don't have to enter a password at all, but maybe there's a 
> way to set it, so I'd have to only enter the root password once?

Create a public/private key pair, give it a really good password.  Add
the public key to client machines "authorized_keys" file.

Use ssh-agent to load the ID, run the process, kill ssh-agent.

# eval $(ssh-agent)
# ssh-add
 [now enter your really good password]


Do work.....

# pkill ssh-agent


Cheers
A.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iF4EAREIAAYFAlTVlysACgkQqBZry7fv4vu+igEAnzPIbU10jaZXS/OWCv1BS033
plJAPFbSgHI3vvcwF8MA/ibzrUvmDb8VQrC7gm3TJto3tM6fPkk9wzHqH9c+NAiO
=A1kt
-----END PGP SIGNATURE-----


Reply to: