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

From: H P <subs1970_at_softhome.net>
Date: 2004-03-16 02:54:28 CET

I have tried option 1 and 2, but that doesn't seem to help either. In fact when I moved my repository to "C:\Documents and Settings\username", I still got the same error. Moreover this is not an acceptable solution because, if there are multiple users, it does not make sense to put the repository in one user's home directory.

I have even gone thru the Subversion code to get a clue regarding how to go about solving it, but to no avail. I sincerely hope that one of the developers can help before I give up... (Posting in the dev@subversion group did not get me any response).

Any help is highly appreciated,

Thanks,

Himanshu

-----Original Message-----
From: Manuel Montoro [mailto:mmontoro@telefonica.net]
Sent: Sunday, March 14, 2004 11:36 PM
To: users@subversion.tigris.org
Subject: Re: How to set repository root in SSH tunnel mode on Windows?

I think the problem is that the repository and the home directory for the
user (i.e c:\Documents and Setting\username) logged through SSH
must reside in the same drive in Windows.
So, you have two solutions:
1) Move your repository the same drive that the home directory
2) Change the user home directory to reside in the same drive as the
repository

I think the first is easier but it's up to you to decide...
I'm sorry don't know now exactly the procedure to change an user's
home directory in Windows.

On 14 Mar 2004 at 20:09, H P wrote:

>
> 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
>
> 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
>
>
>

```--
Manuel Antonio Montoro Navarro
mail: mmontoro@telefonica.net
Pensamiento del Dia:
Es sucio el sexo? Solo cuando se hace bien
Woody Allen.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org