On Thu, Aug 29, 2002 at 11:59:48PM -0500, David Summers wrote:
> With SSH port-forwarding, how is CVS via ssh port-forwarding significantly
> different from Subversion via ssh port-forwarding? It seems to me that
> they both do the same thing.
Indeed, I'm shocked no one mentioned port forwarding yet. (My brain
is preoccupied by other issues, so I didn't even remember it.) Note
CVS just uses a pipe rather than a true port forward, but you could
use CVS with port forwarding if you wanted to - I have before.
1) Run the http server on an unpriviliged port but blocked via
firewall. (Configure apache to only allow from 127.0.0.1 if
you don't trust your firewall.)
2) Have developers connect via ssh to the server.
3) Setup a local port forward to the remote machine's http server and
access the repository locally.
Steps:
ssh -L 8888:127.0.0.1:8888 authorized-user@ssh-only-server
svn co http://localhost:8888/
There's no reason that wouldn't work. You just need to log in first
with the port forwarding options so you can do your online ops.
(I believe putty on Win32 does port forwarding, but I'm not sure.)
This is exactly why no one has really had the impetus to finish
ra_pipe - it just isn't needed. A little creativity is all that
is required. Note that you can still mount the repos via WebDAV if
you wanted to.
Awesome catch! -- justin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Aug 30 07:19:11 2002