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

Re: Problems with svn+ssh access via TortoiseSVN

From: Milen A. Radev <milen_at_radev.net>
Date: 2007-08-23 22:53:47 CEST

On 23/08/07, Jeff Alperin <jalperin@gmail.com> wrote:
> I have a repository located on a Linux server at myserver.com at
> /home/myuser/repositories/cccrepo. I've set up access via
> svnserve and can login using the built-in authentication (passwd) file with
> no problems using: svn://myserver.com/repositories/cccrepo.
>
> I want to have ssh access, however, so I've set up a public/private key
> pair. I can use the pair to login successfully to the server generally, so I
> know that ssh is working and that the key pair is working, but I'm having
> trouble accessing the repository via svn+ssh://.
>
> I've setup a Putty connection(as described in the TortoiseSVN FAQ) which
> points to my private key. When I use the URL:
> svn+ssh://myuser@PuttyConnection/home/myuser/repositories/cccrepo,
> I get prompted for my passphrase 3 times. Then, Tortoise SVN shows a tree
> ending with the "repositories" directory. When I expand that directory on
> the tree, it again asks for my passphrase, and then returns the error: no
> repository found in
> svn+ssh://myuser@PuttyConnection/home/myuser/repositories/cccrepo.
>
> I get similar results if I try to skip the public/private key and just use:
> svn+ssh://myuser@myserver.com/home/myuser/repositories/cccrepo.
> Instead of multiple prompts for the passphrase, I get asked once for the
> password. When I try to expand "repositories", I get asked for the password
> again, and then I get the "no repository found" error.
>
> any suggestions?

I know it is tempting to just create a public/private key pair and
change the URL from "svn://...' to 'svn+ssh://...' but it's not _that_
easy.

Start with reading the relevant sections in the documentation -
http://svnbook.red-bean.com/en/1.4/svn.serverconfig.svnserve.html#svn.serverconfig.svnserve.sshauth.
And a hint - look for the "--root" option for "svnserve".

-- 
Milen A. Radev
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Aug 23 22:51:16 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.

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