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

Re: Newbie SSH setup problem

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-25 18:59:44 CET

On Nov 25, 2004, at 11:10 AM, Gerard Samuel wrote:

> I have this in inetd.conf (but Im not sure if it applies to subversion
> ssh connections) ->
> svn stream tcp nowait/4/4 www
> /usr/local/bin/svnserve svnserve -i -r /source/svn
>
> My svnserve.conf file is totally commented out, so its running with
> its defaults.
> Both the local and remote machines has my login/password combination.
> I also get this error when I try it on the remote box with the
> repository on it.
> The repository is owned by www:svn, and Im part of the svn group.
> Any help with this would be appreciated.
> Thanks
>
> $ svn list svn://hivemind.trini0.org/trunk
> Makefile
> bar.c
> foo.c

Great, this works as expected.

> $ svn list svn+ssh://hivemind.trini0.org/trunk
> Password:
> svn: No repository found in 'svn+ssh://hivemind.trini0.org/trunk'
>

svn+ssh:// has nothing to do with inetd.conf. The svn client launches
a private svnserve process using ssh: "ssh hivemind.trini0.org
svnserve -t". Which means there's no -r switch being passed to
svnserve; you need to use an absolute path to the repository:
svn+ssh://hivemind.trini0.org/sources/svn/trunk

This is all discussed in chapter 6.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 25 19:03:13 2004

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.