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

Re: svn+ssh://... shouldn't assume svnserve in user's PATH

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-09-01 09:04:42 CEST

On Sun, Aug 31, 2003 at 05:53:07PM -0400, Greg Hudson wrote:
> On Sat, 2003-08-30 at 15:30, Will Partain wrote:
> > Could we have something the equivalent of the CVS_SERVER env
> > var.? Or compile-time option; or config file thing; or ...
>
[snip]
> I'm afraid of implementing hackish, short-term solutions because we'll
> have to support them forever. It really seems simplest to mandate that
> people set up your path correctly on the server. Unfortunately, I've
> heard (though I haven't verified) that modern openssh makes that
> impossible for some users who don't have root access, by disabling
> .ssh/environment by default and bypassing .profile when a command line
> is specified.
[snip]

Well it's not impossible, because the user can still set up a public key
with corresponding entry in .ssh/authorized_keys looking like this:

command="/path/to/svnserve -r /some/path -t" ssh-dss AAAAB3...

It's just not as convenient, perhaps, but it also allows you to use the
"-r" switch, which just using .ssh/environment isn't enough for.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Sep 1 09:05:35 2003

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.