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

Re: Multiple repo access to single user and Read/Write groups on svn+ssh server

From: John Peacock <john.peacock_at_havurah-software.org>
Date: Fri, 28 Mar 2008 17:50:50 -0400

Sahadeo Raskonda wrote:
> I have setup svn+ssh based access to subversion repositories.
>
> I came across a issue where I want single user based on his single
> public key should be able to access multiple repositories.
> command="/usr/bin/svnserve -r /home/svn/repo1 -t --tunnel-user=saha"
> public key
> command="/usr/bin/svnserve -r /home/svn/repo2 -t --tunnel-user=saha"
> public key
>

This will never work. ssh will match the first public key that it finds and run
that command. You could switch to using Apache with client certificates (almost
exactly the same level of security), and give the user rights to multiple
repositories via auth stanzas instead. You would then use SVNParentPath to
point to the directory above both repos (/home/svn in this case)...

HTH

John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-28 22:50:54 CET

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.