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

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

From: smd <sssmmmddd_at_gmail.com>
Date: Fri, 23 Jan 2009 23:17:33 -0800 (PST)

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_at_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.net/repos/svn/trunk/notes/ssh-tricks
Re: Cannot check out/update but can browse repo and import with SSH
http://svn.haxx.se/tsvnusers/archive-2007-01/0135.shtml
http://www.nabble.com/Questions-Re.-Appendix-G.-Securing-Svnserve-using-SSH-td18490138.html
Ditching the Password Prompts in TortoiseSVN
http://allyourtech.com/content/articles/24_12_2005_ditching_the_password_prompts_in_tortoisesvn.php
http://wiki.wsmoak.net/cgi-bin/wiki.pl?Subversion/Configuration
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/svnrepos/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_at_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.schoolserver.com/path/myhomefolder/
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_at_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://schooluser@sshserver.schoolserver.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@sshserver.schoolserver.com/path/myhomefolder/
svnrepos/myrepo there, it ends with error:

> URL 'svn+ssh://schooluser@sshserver.schoolserver.com/path/myhomefolder/svnrepos/myrepo' 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/tsvnusers/archive-2007-01/0135.shtml
and run 'tortoiseplink schooluser_at_sshserver.schoolserver.com "svnserve
-t"' - but the program exits without anything happening. If I run
'putty schooluser_at_sshserver.schoolserver.com' instead, I get:

> Using username "schooluser".
> Authenticating with public key "usr2_at_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!

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

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

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