From owner-freebsd-net Wed Jun 14 14:46:41 2000 Delivered-To: freebsd-net@freebsd.org Received: from databus.databus.com (databus.databus.com [198.186.154.34]) by hub.freebsd.org (Postfix) with SMTP id 5F1F837B731 for ; Wed, 14 Jun 2000 14:46:34 -0700 (PDT) (envelope-from barney@databus.databus.com) From: Barney Wolff To: freebsd-net@freebsd.org Date: Wed, 14 Jun 2000 17:46 EDT Subject: Re: persistant ssh connections Content-Length: 862 Content-Type: text/plain Message-ID: <3947fd330.2183@databus.databus.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Perhaps the shell at the far end has an idle timer. For ksh, set TMOUT=0. I need hardly tell you how dangerous unattended ssh, with or without forwarding, is. Sure wouldn't do it on my network. Barney Wolff > Date: Wed, 14 Jun 2000 14:16:02 -0700 > From: Steve Shah > > I want to setup ssh port forwarding in such a way that they > can be started without user intervention. I already have the > keys setup in a way that allows me to do things like: > > [user@host ~]$ ssh -L 5555:localhost:5555 remote.host.com > > without having to enter a password. But now I have to maintain activity > on the link so that the forwarding doesn't get dropped. =( I tried > various combinations of -f -n and -S without success. > > I'm sure it is something straight forward. Any enlightment would be > much appreciated. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message