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

Re: [PATCH] Enable users to specify a full path of svnserve at the tunnel mode

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-03-29 13:37:13 CEST

Kobayashi Noritada wrote:
> Hi,
>
> This patch enable users to specify a full path of svnserve at the tunnel
> mode.
> I created this because I want to use that mode of svnserve in my home dir
> for testing, but ssh cannot detect it.
> Of course I've read "Trick #1" in notes/ssh-tricks, but I always use
> public-key authentication for login and do not want to use another key
> to access the repository...
>
> If this patch seems to be helpful to others, I'd like to have it
> committed.

I like the concept, but agree with Greg Hudson's note that it should not be
a global setting.

Ideally, this should be specifiable individually per tunnel scheme:

So svn+ssh:// would be the usual behaviour, and you could configure (for
example) svn+mytest:// to look for your local svnserve.

If you want to go ahead with this, propose a format for the configuration
file so we can discuss it.

However, if you are just looking for a quick fix, there are two easy
workarounds:

1) Client SSH wrapper script:

Use the existing tunnels configuration to substitute a script like this for
your ssh program:
#!/bin/sh
exec /home/me/bin/svnserve -t

2) Multiple public keys:

I see you said you didn't want to do this - but are you aware that it can
all be set up without interrupting your normal logons, and using the ssh
config file, made to work almost transparently? You would just use a
different hostname for the "svnserve" personality, and use the "Host",
"HostName", and "IdentityFile" .ssh/config options.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 29 13:40:36 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.