From owner-freebsd-net Wed Jun 14 15: 5: 1 2000 Delivered-To: freebsd-net@freebsd.org Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252]) by hub.freebsd.org (Postfix) with ESMTP id DDAC337B52A for ; Wed, 14 Jun 2000 15:04:52 -0700 (PDT) (envelope-from roberto@keltia.freenix.fr) Received: (from uucp@localhost) by frmug.org (8.9.3/frmug-2.7/nospam) with UUCP id AAA02533 for freebsd-net@freebsd.org; Thu, 15 Jun 2000 00:04:48 +0200 (CEST) (envelope-from roberto@keltia.freenix.fr) Received: by keltia.freenix.fr (Postfix, from userid 101) id 0334E87AE; Thu, 15 Jun 2000 00:01:37 +0200 (CEST) Date: Thu, 15 Jun 2000 00:01:37 +0200 From: Ollivier Robert To: freebsd-net@freebsd.org Subject: Re: persistant ssh connections Message-ID: <20000615000137.A20485@keltia.freenix.fr> Mail-Followup-To: freebsd-net@freebsd.org References: <20000614141602.A1932@clickarray.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000614141602.A1932@clickarray.com>; from sshah@clickarray.com on Wed, Jun 14, 2000 at 02:16:02PM -0700 X-Operating-System: FreeBSD 5.0-CURRENT/ELF AMD-K6/200 & 2x PPro/200 SMP Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org According to Steve Shah: > [user@host ~]$ ssh -L 5555:localhost:5555 remote.host.com Add "sleep 5000" after that and "-f -n" . That way, you'll have time to open forwarded connections and after the sleep wakes up, ssh will wait till all connections are closed to exit. -- Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 5.0-CURRENT #80: Sun Jun 4 22:44:19 CEST 2000 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message