You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by si <ss...@gmail.com> on 2006/07/26 08:38:45 UTC

Modifying svnserve parameters when using ssh tunnel

Hi,

After getting windows integrated authentication working with the svn+ssh://
protocol, i'd like to streamline the repository path as per normal svnserve
access, by setting the -r parameter in the (overided) ssh command.

From:  svn+ssh://user@host/svnroot/repos/test
To: svn+ssh://user@host/test

Is this possible?  Environment is windows (both client and server)

So using Bitvise's Tunnelier sexec application, I'd like to change the
Subversion config

[tunnels]
ssh = sexec -gma -ntlm

to

[tunnels]
ssh = sexec -gma -ntlm -cmd="svnserve.exe -t -r c:/svnroot/repos"

The former is working, the later is not working from an svn client,
but if I run it from a shell it appears to...for example:

C:\>sexec svn@virtual -gma -ntlm -cmd="svnserve.exe -t -r c:/svnroot/repos"
( success ( 1 2 ( ANONYMOUS EXTERNAL ) ( edit-pipeline ) ) )

I've tried using an environment variable in config [tunnels] but alas no joy.


The other interesting thing I came across when testing, was using normal
svn:// protocol, in my authz file, for the 'svn' user in the 'test' repository,
this worked:

[test:/]
svn = rw
* =

but as soon as I moved to svn+ssh:// protocol, it failed. But this worked:

[/]
svn = rw
* =

peace
si

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org