SVNForum.org Forum Index FAQFAQ SearchSearch MemberlistMemberlist RegisterRegister Log inLog in

Download Subversion 1.6.12: Free Subversion TrainingWindows - Free Subversion TrainingCentOS 5 - Free Subversion TrainingRedhat Enterprise Linux 5 - Free Subversion TrainingUbuntu 9/10.04 - Free Subversion TrainingDebian Lenny (5)

Free Subversion Training: Free Subversion TrainingAll About Checkouts Free Subversion TrainingUsing the Subversion Diff Command Free Subversion TrainingSubversion Administration Best Practices Free Subversion TrainingAll About Subversion Hook Scripts
 
Hiding path to repository in svn+ssh link

 
Post new topic   Reply to topic    SVNForum.org Forum Index -> Linux, Unix and *nix
View previous topic :: View next topic  
Author Message
thechriskelley



Joined: 22 Feb 2010
Posts: 1
Location: San Luis Obispo, CA

PostPosted: Tue Feb 23, 2010 3:21 am    Post subject: Hiding path to repository in svn+ssh link Reply with quote

Greetings,

I'm fairly new to administrating repositories, and currently setting up a SVN repository on Mac OS X 10.6 Server that is located locally at /Library/Subversion/RepoName. To access the repository "RepoName" from another machine, I was told to use:

svn+ssh://user:pass@host/Library/Subversion/RepoName

Obviously the first half looks okay, but I'd rather not reveal the local path to the repository to the public. Is there a way to configure svn to add the "/Library/Subversion" prefix to any path given, so that the uri would look like this?

svn+ssh://user@host/RepoName


Thanks for any help!
Chris
_________________
Nine out of ten voices in my head tell me that I'm insane. The tenth voice hums the Tetris theme song.
Back to top
View user's profile Send private message Visit poster's website AIM Address
sachidanand



Joined: 10 Sep 2009
Posts: 14

PostPosted: Mon Mar 08, 2010 4:42 am    Post subject: Reply with quote

Not sure of MAC (but should be similar), i have done it on Solaris in following way

Rename file “/svn/install/location/svnserve” to “svnserve.bin”
Create a text file “svnserve” in same location
Add following line to the file
exec /svn/install/location/svnserve.bin -r /repository/location "$@"

Save & Exit
Make svnserve an executable file using command:
chmod 555 /svn/install/location/svnserve

Now the URL is
svn+ssh://server_name/repository_name

As most of my users are accessing reps from Windows boxes, I ask them to add their user ID and password in TortoiseSVN settings--> Network --> SSH client so that they dont need to provide it on every interaction in following manner
C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe -l user_id -pw password
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Post new topic   Reply to topic    SVNForum.org Forum Index -> Linux, Unix and *nix All times are GMT - 4 Hours
Page 1 of 1
Display posts from previous:   
Google
 
Web SVNForum.org