Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have just switched from an old Fedora Core server to Debian Linux v5.0.4.

Having migrated the old repository and configured access through svn+ssh, I now want to be able to access the repository with the same path on the client as before.

On Fedora you could specify the repository root with "svnserve -r " but having checked the config files and svnadmin options I'm stuck as to how I can do this on Debian.

Is there a way to set the repository root in Debian?

share|improve this question

I found the answer:

http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.serverconfig.svnserve.sshauth

(see "Controlling the invoked command").

You can specify the command to be invoked, including the repository base, in ~/.ssh/authorized_keys:

i.e.

command="/usr/bin/svnserve -t -r " ssh-dss AAAA...

This approach means you won't be able to log in to the command prompt with this user.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .