This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: regarding CVS repostory on Savannah


Rudy Gevaert <rudy@gnu.org> writes:

> I'll discuss it with the FSF admins to set up rsync in the chroot of
> your project.

I don't know how it was being done in the past, but it seems to me
that the following should work and expose neither system to more
vulnerabilities than it is at present: 

On your end, create a user with no password and no authorized_keys for
inbound SSH, but do give it a valid shell and an SSH private key with
no passphrase.  This user owns the CVS mirror hierarchy but doesn't
have write access to anything else.  On our end, we create a
restricted-access account that is only allowed to run rsync-over-ssh,
and which can only read files.  It gets the public key for the user on
your end in its authorized_keys file.

Then your user has a cron job which periodically invokes rsync to pull
down the files from our server.

zw


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]