Login | Register
My pages Projects Community openCollabNet

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

Project highlights: :. Download .: :. Support .: :. FAQ .: :. Translations .: :. Donate .: :. Report Bug .:

tortoisesvn
Discussion topic

Back to topic list

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

Author smd <sssmmmddd at gmail dot com>
Full name smd <sssmmmddd at gmail dot com>
Date 2009-01-24 02:01:22 PST
Message Ok, I think I got it finally...

If I use:

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

Then I can do a repo-browser from TortoiseSVN using the adress:
>
> svn+ssh://schooluser​@sshserver.schoolser​ver.com/path/myhomef​older/svnrepos/myrep​o
>

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/sv​nrepos/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@myrepo

Then, I can checkout myrepo through TortoiseSVN adress:

> svn+ssh://schooluser​@sshserver.schoolser​ver.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 !

« Previous message in topic | 2 of 5 | Next message in topic »

Messages

Show all messages in topic

svn+ssh - can browse, cannot checkout w/ Pageant smd <sssmmmddd at gmail dot com> smd <sssmmmddd at gmail dot com> 2009-01-23 23:17:34 PST
     Re: svn+ssh - can browse, cannot checkout w/ Pageant smd <sssmmmddd at gmail dot com> smd <sssmmmddd at gmail dot com> 2009-01-24 02:01:22 PST
     Re: svn+ssh - can browse, cannot checkout w/ Pageant smd <sssmmmddd at gmail dot com> smd <sssmmmddd at gmail dot com> 2009-01-24 02:04:21 PST
     Re: svn+ssh - can browse, cannot checkout w/ Pageant "s dot m dot d dot " <sssmmmddd at gmail dot com> "s dot m dot d dot " <sssmmmddd at gmail dot com> 2009-01-24 02:10:50 PST
         Re: svn+ssh - can browse, cannot checkout w/ Pageant steveking Stefan K√ľng 2009-01-24 02:14:37 PST
Messages per page: