[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Problems using ssh tunnel to subversion/apache server

From: Sheryl <gubydala_at_his.com>
Date: 2007-04-27 18:13:25 CEST


I thought this would be straightforward but apparently it isn't.

I have a production server which can't access subversion because of a
firewall. The subversion server is not standalone, it's apache/DAV
SSL-wrapped. I create a tunnel using the following command on svnhost:

ssh -R2002:svnhost:443 productionserver

Where svnhost is the virtual host running the apache interface to the
repository (several virtual hosts are defined on the interface card).
This makes the web site appear on localhost:2002, which I can confirm with

lynx https://localhost:2002/websvn

But when I try to do an ls on the repository I get

Unrecognized URL scheme for 'https://localhost:2002/svn/repositoryname'

The identical command works behind the firewall if I type it in
identically except for replacing localhost:2002 with svnhost.

I've checked the red bean book but all discussion of tunneling has to do
with the standalone server instead of apache. I also searched for "tunnel
apache" on the mailing list archives and came up with nothing.

Am I the only person who ever wanted to do this? I'd prefer not to set up
a standalone server just to get around this problem.

Any pointers appreciated.



To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 27 18:14:00 2007

This is an archived mail posted to the Subversion Users mailing list.