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?


I found the answer:


(see "Controlling the invoked command").

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


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.