# How to set repository root in SSH tunnel mode on Windows?

From: H P <subs1970_at_softhome.net>
Date: 2004-03-15 05:09:09 CET

I posted before regarding problems accessing svn repository using svnserve
running on Windows, however I did not get any reply. My main problem is that
when I access using svn+ssh, svnserve complains that it can't find
Repository. I think it is failing because svnserve is not able to find the
repository in the path I specified.

My repository root is E:\svn_home and I gave this command on the server
itself: svn co svn+ssh://localhost/E://svn_home/trunk. When I gave this
command, the SSHD server (WinSSHD) reports that it is "Executing command
svnserve -t on C:\Documents and Settings\myusername".

So, my question is that how does one specify the repository root for
svnserve in tunnel mode? i.e., I want my SSHD server to run "svnserve -t -r
<repos_root>" when someone accesses using svn+ssh.

Here are the logs I got on the server when I gave the commands to access the
repository:

C:\>svntmp>svn co svn+ssh://localhost/E://svn_home/trunk

svn: Couldn't determine repository path

C:\>svntmp>svn co svn+ssh://hostname/E://svn_home/trunk

svn: Couldn't determine repository path

However, I was able to access the repository fine like this:

C:\>svntmp>svn co svn://hostname/E://svn_home/trunk

- Himanshu

Received on Mon Mar 15 05:09:48 2004

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