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

Re: SVN+SSH access not advisable

From: Marko Käning <mk362_at_mch.osram.de>
Date: Fri, 25 Jul 2008 19:16:05 +0200 (CEST)

> I guess I'll test this approach too.

I did try it, but with limited success...

I created a svn-user named svnuser. In his homedir I created on the server
a repo only accessible to him (/home/svnuser/svntest).

His .ssh/autorized_keys looks like this:

---
from="myclient.net", \
command="svnserve -t --tunnel-user=USER", \
no-port-forwarding, \
no-agent-forwarding,no-X11-forwarding,no-pty \
ssh-rsa ...KEY... COMMENT
---
That the key ...KEY... is correctly assigned to the user svnuser I could 
check when I did a checkout on my client via path
	svn+ssh://svnuser@myserver.net/home/svnuser/svntest/trunk
Working on this copy is possible.
Drawback though: the author still shows up as svnuser, although option 
--tunnel-user was set to USER!
I suspect that the command specified is not called correctly, since even 
if I *misspell* svnserve the svn access doesn't fail...
What goes wrong here?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-07-25 19:16:40 CEST

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.