[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn and cron

From: Thomas Harold <tgh_at_tgharold.com>
Date: 2006-12-14 00:37:46 CET

Vincent Lefevre wrote:
> On 2006-12-11 20:50:49 -0600, Ryan Schmidt wrote:
>> Curious. What do you need expect for in this scenario? svn is not an
>> interactive program. The only thing I think it can prompt for is the
>> username and password, and you can provide that with the --username
>> and --password options without resorting to something like expect.
>
> The --password option may be a security hole, e.g. if there are
> several users on the machine.
>

You might also look into using a no-password SSH keyfile that has
limited rights to the SVN repository (i.e. it can only read). Plus you
can restrict the SSH key to only executing the "svnserve -t" command on
the SVN server.

Which should be fairly secure and low-risk.

(We us something similar to push log files from our web servers to a
central SVN server. Works well, only transmits the changes and we have
it set to transmit hourly.)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 14 00:38:56 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.