From owner-freebsd-hackers Thu Dec 12 15:05:26 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA15826 for hackers-outgoing; Thu, 12 Dec 1996 15:05:26 -0800 (PST) Received: from bacall.lodgenet.com (bacall.lodgenet.com [205.138.147.242]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id PAA15821 for ; Thu, 12 Dec 1996 15:05:21 -0800 (PST) Received: (from mail@localhost) by bacall.lodgenet.com (8.6.12/8.6.12) id RAA19925; Thu, 12 Dec 1996 17:04:31 -0600 Received: from garbo.lodgenet.com(204.124.123.250) by bacall via smap (V1.3) id sma019903; Thu Dec 12 17:04:18 1996 Received: from jake.lodgenet.com (jake.lodgenet.com [10.0.11.30]) by garbo.lodgenet.com (8.6.12/8.6.9) with ESMTP id RAA07094; Thu, 12 Dec 1996 17:04:34 -0600 Received: from jake.lodgenet.com (localhost [127.0.0.1]) by jake.lodgenet.com (8.8.3/8.6.12) with ESMTP id RAA07956; Thu, 12 Dec 1996 17:04:50 -0600 (CST) Message-Id: <199612122304.RAA07956@jake.lodgenet.com> X-Mailer: exmh version 1.6.9 8/22/96 To: John Polstra cc: "Eric L. Hernes" , hackers@freebsd.org, roberto@eurocontrol.fr Subject: Re: Fwd: CVSup with SSH In-reply-to: Your message of "Thu, 12 Dec 1996 14:51:42 PST." <199612122251.OAA01790@austin.polstra.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Dec 1996 17:04:49 -0600 From: "Eric L. Hernes" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk John Polstra writes: >> set lport 6666 > >One caution: Don't everybody start using 6666, or this thing will never >work. It has to be a port that's free on both your local machine and on >the server host. If everybody starts using 6666, they'll be colliding >before long. Pick some creative individual number. Better yet, make >the script choose one semi-randomly. I thought about that and didn't post the script with my real port in it ;-) > >I was wondering the same thing. Could some ssh expert answer that, >please? > >The only idea I could think of was something like this: > > ssh -L 5999:localhost:5999 -R $lport:localhost:$lport freefall sleep 3600 Yea I thought about that too, but the network between here and freefall is *so* unprediciable that the sleep could end up timing out before the update finished. I guess I could crank the sleep up to something like a couple days... That's why my update script graduated from /bin/sh to expect. > >John >-- > John Polstra jdp@polstra.com > John D. Polstra & Co., Inc. Seattle, Washington USA > "Self-knowledge is always bad news." -- John Barth thanks again. eric. -- erich@lodgenet.com http://rrnet.com/~erich erich@rrnet.com