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

Re: svn+ssh problem

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-27 10:44:02 CEST

On Tue, Aug 26, 2003 at 03:00:09PM -0500, Ben Collins-Sussman wrote:
> Cédric Chabanois <cchabanois@ifrance.com> writes:
>
> > Using subversion 0.26.0 on Gentoo linux, I did :
> >
> > $ svnserve -d -r /home/cedric/repositories/
[snip]
> > $ svn list svn+ssh://192.168.1.3/myrepos/
> > cedric@192.168.1.3's password:
> > svn: Couldn't find a repository
> > svn: No repository found in 'svn+ssh://192.168.1.3/myrepos'
> >
> > Did I miss something ?
>
> Yes, please read the svn book, chapter 5, about svnserve.
>
> svn+ssh:// has *nothing* to do with 'svnserve -d'.

This is correct.

> It launches its own private svnserve process, and requires an absolute
> path to the repository.

svn+ssh:// does NOT require a full path to the repository if it's set up
properly :)

See http://www.contactor.se/~dast/svnusers/archive-2003-08/0548.shtml

Actually, I'll quote from it here:

        On Wed, Aug 20, 2003 at 08:18:01AM -0500, Ben Collins-Sussman
        wrote:
        [...]
> svn+ssh:// requires that you use an *absolute* path after the
> hostname. Is that what you're doing?

        To get around this, you can use the "-r" switch to svnserve.
        Just bare in mind that in "tunnel" mode (i.e. when using the
        svnserve protocol over SSH etc.) svnserve must be run with the
        -t switch. Otherwise everything will still be anonymous. You
        can do this by using SSH keys and then putting something like
        this in the authorized_keys file:

        command="svnserve -t -r /home/svn" ssh-dss AAAAB3...

        (see the ssh docs for more details.)

        This is not necessary if you do not want to use the "-r" switch.
        [...]

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 28 08:07:03 2003

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.