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

Modifying svnserve parameters when using ssh tunnel

From: si <sshnug.si_at_gmail.com>
Date: 2006-07-26 10:38:45 CEST

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
Received on Wed Jul 26 10:40:13 2006

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.