subversion & domain name use

subversion & domain name use

Posted by: nauht
Posted on: 2007-05-24 23:30:00

Hi,

On the wiki, it is suggested that if I wanted to use svn+ssh I should checkout my repo at a url like this:

  svn+ssh://{user}@svn.yourdomain.ext/home/{user}/svn/{project}

However I want to use something like the following url that's similar to the one I would use if I were to access my svn repo via HTTP:

  svn+ssh://{user}@svn.yourdomain.ext/{project}

Is the second method possible?

Re: subversion & domain name use

Posted by: Lensman
Posted on: 2007-05-25 12:46:00

Your question got me thinking and I found the following intriguing article:
http://svn.collab.net/repos/svn/trunk/notes/ssh-tricks

If you don't get any better pointers and do decide to try it out, let me know. I might try it out this weekend!

Re: subversion & domain name use

Posted by: nauht
Posted on: 2007-05-25 14:21:00

Well I followed what it says and modified my authorized_keys file to something like:

command="svnserve -t -r --tunnel-user=userABC" /home/<domain>/svn/" ssh-rsa XXXSTUFFFYYYY userABC@lira

And tried to 'svn list' but there's no SVN dir avail.

Re: subversion & domain name use

Posted by: Alec
Posted on: 2007-05-25 15:01:00

I guess the second method would work.

Tags: subversion