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

Re: using tunnels via svnserve

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-08-02 22:07:07 CEST

Eric Hanchrow wrote:

> Couldn't you just use ssh port forwarding?
>
> ssh -N -L3690:localhost:3690 wherever &
> svn co svn://localhost/whatever
>

That mode of operation is in the FAQ already:

        http://subversion.tigris.org/project_faq.html#paranoid

but it would be nicer if the svn client could initiate its own tunnel
(so that you won't have backgrounded tunnels floating about). Actually,
I am using something similar, as script called 'svn':

ssh -f -L 3690:127.0.0.1:3690 servername sleep 120 2>/dev/null
/usr/local/bin/svn "$@"

which means the tunnels expire after 120 seconds.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 2 22:07:02 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.