Login | Register
My pages Projects Community openCollabNet

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

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

tortoisesvn
Discussion topic

Back to topic list

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-23 23:17:34 PST
Message Hi all,

I'm trying to setup an SVN repository on my school server (Linux), on
which I don't have much control (like over /etc/sshd_config), apart
from my home directory. I login there through

ssh schooluser@sshserver​.schoolserver.com

I'd like to allow several users use TortoiseSVN to connect to the
repositories there. Basically, I managed to get the repo-browser to
list contents, but it cannot check-out.

I have tried to follow:
http://svn.collab.ne​t/repos/svn/trunk/no​tes/ssh-tricks
Re: Cannot check out/update but can browse repo and import with SSH
http://svn.haxx.se/t​svnusers/archive-200​7-01/0135.shtml
http://www.nabble.co​m/Questions-Re.-Appe​ndix-G.-Securing-Svn​serve-using-SSH-td18​490138.html
Ditching the Password Prompts in TortoiseSVN
http://allyourtech.c​om/content/articles/​24_12_2005_ditching_​the_password_prompts​_in_tortoisesvn.php
http://wiki.wsmoak.n​et/cgi-bin/wiki.pl?S​ubversion/Configurat​ion
SVN+SSH+public key authentication on Windows Box as server -
http://tortoisesvn.net/node/156

I've tried to:
- Set up an svn repo, at /path/myhomefolder/s​vnrepos/myrepo, and check
in a single file
- Generate openssh keys for the supposedly new user usr2
- Add to ~/.ssh/authorized_keys:
command="svnserve -t --tunnel-user=usr2 -r /path/myhomefolder/svnrepos/
myrepo" ssh-rsa XXX..xx= usr2@myrepo
- Convert openssh private key to putty key (.ppk)
- On XP machine - run Pageant, load the ppk file.

Then I can do a repo-browser from TortoiseSVN using the adress:

svn+ssh://schooluser​@sshserver.schoolser​ver.com/path/myhomef​older/
svnrepos/myrepo

Even though it is the usr2 key that is loaded (as it should). However,
as soon as the contents are listed, this full adress dissapears from
the TortoiseSVN browser adress bar, and only svn+ssh://
schooluser@sshserver​.schoolserver.com remains ?! Hence, when I try to
do a checkout by rightclicking the folder in the repo-browser window,
it puts in the 'svn+ssh://schooluse​r@sshserver.schoolse​rver.com' as a
repository adress to check out from, and there is obviously nothing
there..

If I try to go directly via SVN Checkout - and enter the full svn
+ssh://schooluser@ss​hserver.schoolserver​.com/path/myhomefold​er/
svnrepos/myrepo there, it ends with error:

> URL 'svn+ssh://schooluse​r@sshserver.schoolse​rver.com/path/myhome​folder/svnrepos/myre​po' doesn't exist

I've tried to follow this suggestion in Re: Cannot check out/update
but can browse repo and import with SSH - http://svn.haxx.se/t​svnusers/archive-200​7-01/0135.shtml
and run 'tortoiseplink schooluser@sshserver​.schoolserver.com "svnserve
-t"' - but the program exits without anything happening. If I run
'putty schooluser@sshserver​.schoolserver.com' instead, I get:

> Using username "schooluser".
> Authenticating with public key "usr2@myrepo" from agent
> ( success ( 2 2 ( ) ( edit-pipeline svndiff1 absent-entries commit-revprops depth log-revprops partial-replay ) ) )

which I guess says that svnserve was succesfully started on the server
side. But still - cannot checkout...

Does anyone know why this may be happening, and how to fix/
troubleshoot it?

Thanks... Cheers!

« Previous message in topic | 1 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: