Using svn over ssh
I was delighted to find that connecting to a subversion repository on a remote server over SSH was quite easy on my Mac (windows may be another story).
All you really need to do is install subversion on the remote server, the subversion install contains something called
svnserve that handles all the tunneling magic for you when you connect over SSH.
Now create a repository:
svnadmin create /home/svn/test
Now install the
svn client tools on your box. Now you can checkout the repository:
svn co svn+ssh://your.remote-server.com/home/svn/test
That was much easier than I thought it was going to be!
I did run into a few permission issues but its pretty easy to fix those, you just need to make sure the user your connecting with over SSH has permission to read and write to the repository.
As I said connecting with windows may be another story, because windows doesn't come with a
Like this? Follow me ↯Tweet Follow @pfreitag
You might also like:
- Blocking .svn and .git Directories on Apache or IIS - October 15, 2013
- Moving a Subversion Repository to Another Server - February 13, 2008
- Ignore Files and Directories in Subversion - December 14, 2007
- Subversion Book for $2.99 - October 28, 2006
Why do I have a timeout problem, and is there some other way to access the repository that isn't subject to timeouts? With CVS, you could use ssh directly, and there was never a problem with timeouts.
In case you're not following what I mean with timeouts, if I do an svn diff or svn log or other command with lots of output, *and redirect (or pipe) the output*, then I (often) don't get it all. It's silently truncated.
As a work-around, I'm using script(1) and then doing the command without redirection. But that's terrible.
please help me..
please help me..
Can i still make use tortoise svn client on windows.I mean mounting my remote work directory and then making use svn.