[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: smd <sssmmmddd_at_gmail.com>
Date: Sat, 24 Jan 2009 02:01:21 -0800 (PST)

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_at_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=1046474

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

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