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

Re: Trouble with users under svn+ssh

From: James Y Knight <foom_at_fuhm.net>
Date: Tue, 17 Feb 2009 12:14:24 -0500

On Feb 17, 2009, at 11:15 AM, A. L. wrote:

> Hello,
> I'm working on a quite important svn installation.
>
> The problem I'm facing seems to have no answer along the internet so
> it must be really difficult or really stupid (or I'm not good a
> mining the internet for info).
>
> However here is the environment: I have one unix server that holds
> the repository and N workstations (mixed OS) that access it via "svn
> +ssh://" protocol.
> Each ssh connection between server and workstations is made with the
> same ssh user while each access to the repository must be made with
> different svn users.

If every user has an SSH key, you can add their keys to the ~/.ssh/
authorized_keys file on the single account on the server. You'll end
up with lots of lines of the form:

command="/usr/bin/svnserve --root=/svnroot -t --tunnel-
user='<username>'",no-port-forwarding, no-X11-forwarding,no-agent-
forwarding,no-pty ssh-dss <key> <comment>

This is how python.org's SVN server is setup (and where I got the
above incantation):
http://www.python.org/dev/peps/pep-0347/

If you're using a single account and just distributing the password to
all your users...well, that sounds like a really bad idea. And I don't
think what you want is possible with that scheme.

James

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1179903

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-02-17 18:43:32 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.