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

Re: svn+ssh - can browse, cannot checkout w/ Pageant

From: s.m. d. <sssmmmddd_at_gmail.com>
Date: Sat, 24 Jan 2009 11:10:48 +0100

Ok, for some reson I seem to be unable to post from Google Groups
interface (or the posting is somehow delayed) - so I'll try directly
through Gmail ... Sorry if there turn up to the three same copies of
this email :)

Ok, I think I got it finally...

If I use:

> - Add to ~/.ssh/authorized_keys:
> command="svnserve -t --tunnel-user=usr2 -r /path/myhomefolder/svnrepos/myrepo" ssh-rsa XXX..xx= usr2_at_myrepo

Then I can do a repo-browser from TortoiseSVN using the adress:
>
> svn+ssh://schooluser@sshserver.schoolserver.com/path/myhomefolder/svnrepos/myrepo
>

but since I've specifically said in the above command that
.../svnrepos/myrepo is the svn root in this case - so all the adresses
in the svn+ssh protocol become related to this level !! Since it is
also the level we're browsing, TortoiseSVN apparently deletes the
extra path/myhomefolder/svnrepos/myrepo from the URL..

That means, that if I wanted to checkout in this case, I should have
just tried to check out adress
svn+ssh://schooluser@sshserver.schoolserver.com/ directly, in order to
access .../svnrepos/myrepo - even though for the full path, the server
complained with "doesn't exist" !!

What I did now, is simply have this line in ~/.ssh/authorized_keys:

> command="svnserve -t --tunnel-user=usr2 -r /path/myhomefolder/svnrepos" ssh-rsa XXX..xx= usr2_at_myrepo

Then, I can checkout myrepo through TortoiseSVN adress:

> svn+ssh://schooluser@sshserver.schoolserver.com/myrepo

(basically, since now /path/myhomefolder/svnrepos is the root in this
case, it can be left out - and all other adresses, like that of
myrepo, are expressed relative to it in the URL)..

Boy, this took a while to understand :) Thanks !

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=1046483

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-24 11:12:10 CET

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