How 'rsync' two in a script with one password?

gm5729 gm5729 at gmail.com
Fri Jul 16 13:14:50 MST 2010


>
>   1. How 'rsync' two in a script with one password?
>      (joe at actionline.com)
>
> Message: 1
> Date: Fri, 16 Jul 2010 09:28:19 -0600
> From: joe at actionline.com
> To: plug-discuss at lists.plug.phoenix.az.us
> Subject: How 'rsync' two in a script with one password?
--
You do and you don't. You move from a human remembered on to what ever
bit value you chose for a "passwordless setup." The password is still
there is just moved from human interactiveness to machine handshakes
of very, very, very large character sets.  Remember rsync is capable
of being tunnelled in ssh.

Remember security is more than just one strong key, make sure your
ssh/sshd_config files are properly set up and provisioned for who is
allowed to log in -- Root by default is NOT, that's a given., and you
can do the same thing for users and groups. If you want to get even
more fine grained after that you can use PAM, but you can lock
yourself out too very fast is PAM gets cranky.

rsync -avHp --progress /home/joe/mydata/zip/ vsiq at box5.bluehost.com:www/zip/

change to, or another idea...

rsync -avzcWP -e ssh --bwlimit=232KBS --exclude=/home/joe/.*
/home/joe/ vsiq at box5.bluehost.com:www/zip/

I am assuming your host kind of operates like rsync.net... which IMHO
is a great backup service.... ya ya shameless plug... i don't work for
them. Otherwise don't forget the extra:
/


rsync -avzcWP -e ssh --bwlimit=232KBS --exclude=/home/joe/familypics
/home/joe/ vsiq at box5.bluehost.com://www/zip/



vp


Remember it's not that we have something to hide, we just have nothing
we want to show.
---Keep tunnelling.


More information about the PLUG-discuss mailing list