I have a SVN repository set up which is provided access through svnserve and ssh. The command in authorized_keys is set up (only relevant part shown) as:
svnserve -t --tunnel-user="${SSH_CLIENT%% *}" -r "/home/myDir" ...
I am trying to use authz to restrict access to different users. svn log provides users by IP addresses which is understandable because of the way I have set up tunnel-user. When I try to restrict access to some user as in:
[someRepo:/dir1/dir2]
192.168.1.55 =
It does not work. The full access to the entire repository is granted anyway to this IP. How do I restrict access to certain folders to some users only?
Is there any way to pass some other Id to be logged in svn, other than IP address to identify user thru svnserve/ssh? I mean how to set tunnel-user to something other than IP address?