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

Re: patch for restricting SSH tunnel access

From: Max Bowsher <maxb1_at_ukf.net>
Date: 2006-06-27 15:05:18 CEST

Szabo Peter wrote:
> Dear Subversion Developers,
>
> I have prepared a patch to svnserve, which gives the repository administrator
> control over users coming through the SSH tunnel (--tunnel-user), so he can
> specify a list of allowed users; everybody else will be denied. (The unpatched
> svnserve just grants access to everybody coming with --tunnel--user.) The
> patch makes it possible to host several repositories with SSH public key
> access on the same server, but restricting access to certain repositories.
>
> The example conf/svnserve.conf configuration file:
>
> [general]
> use-tunnel-users = yes
>
> [tunnel-users]
> joe = yes
> jane = yes
> bill = no

Something like:

conf/svnserve.conf:
[general]
authz-db = authz.conf

conf/authz.conf:
[/]
joe = rw
jane = rw

ought to serve your purposes without any code changes at all

Max.

Received on Tue Jun 27 15:08:43 2006

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