[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:33:28 CEST

Ben Reser wrote:

> On Mon, Aug 02, 2004 at 04:07:07PM -0400, John Peacock wrote:
>
>>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.
>
>
> People need to stop recommending that sleep syntax. The following
> tunnel won't go away until you kill it and avoids running a sleep
> command on the server:
>
> ssh -f -n -L 3690:127.0.0.1:3690
>

Why? It's annoying to kill the tunnel session (since you have to track
it down using ps) and the sleep doesn't do anything bad to the server.
The 120 seconds means the tunnel will usually last long enough for me to
type a short commit message into my editor, but ssh will not close a
tunnel if there is still activity on it (long checkout or commit).

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:33:41 2004

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