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

SVN+SSH tunneling problem

From: Marko Käning <mk362_at_mch.osram.de>
Date: Mon, 28 Jul 2008 11:47:50 +0200 (CEST)

[I decided to repost this from thread "SVN+SSH access not advisable"
since it is not fully related to that discussion.]

---
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-28 11:48:22 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.