Reputation: 6158
This is the question I'm having a hard time finding an answer to. Here's what I DON'T have:
Here's what I DO have:
This is a shot at what I tried, and seem to be unsuccessful at (names of people and places and machines have been changed to protect the innocent):
Why doesn't SVN work?
Hmm, I have a suspicion that SVN does not like SOCKS. Anyone have a suggestion?
Upvotes: 12
Views: 12379
Reputation: 361
If you have a web server installed on the computer the repository is installed on you can actually use svn on the standard http port 80 alongside the web server using the apache svn module. Just download and activate the required modules:
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
# external modules
LoadModule dav_svn_module ../svn/bin/mod_dav_svn.so
LoadModule authz_svn_module ../svn/bin/mod_authz_svn.so
...
<Location /svn >
DAV svn
SVNParentPath D:\Repositories
AuthType Basic
AuthName "Subversion Repository"
AuthUserFile D:\Repositories\permisiuni.conf
Require valid-user
SVNAdvertiseV2Protocol Off # prevents Subversion E160013: '/svn/xxx/!svn/me' path not found* error
</Location>
Of course, you'll have to create permisiuni.conf containing users and passwords in the following format:
username1:password1
username2:password2
username3:password3
Upvotes: 0
Reputation: 508
If someone is still interested here is a link to a tutorial showing how to set up a tunnel to bypass a firewall.
http://problemssol.blogspot.com/2010/12/ssh-tunelling-to-reach-svn-repository.html
Upvotes: 0
Reputation: 30014
Have you tried forwarding directly to port 3690 on the target machine instead of using socks?
ssh -L 3690:remote:3690
svn info svn://localhost/blahblahblah
Upvotes: 10