From owner-freebsd-questions@freebsd.org Wed May 29 20:48:31 2019 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 53A4015ACE0B for ; Wed, 29 May 2019 20:48:31 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from cyrus.watson.org (cyrus.watson.org [204.107.128.30]) by mx1.freebsd.org (Postfix) with ESMTP id 90B2786864 for ; Wed, 29 May 2019 20:48:29 +0000 (UTC) (envelope-from doug@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [198.74.231.63]) by cyrus.watson.org (Postfix) with ESMTPS id 5FA44184D48; Wed, 29 May 2019 20:48:28 +0000 (UTC) Received: from fledge.watson.org (doug@localhost.watson.org [127.0.0.1]) by fledge.watson.org (8.15.2/8.15.2) with ESMTP id x4TKmR5e031969; Wed, 29 May 2019 16:48:28 -0400 (EDT) (envelope-from doug@fledge.watson.org) Received: from localhost (doug@localhost) by fledge.watson.org (8.15.2/8.15.2/Submit) with ESMTP id x4TKmRLm031966; Wed, 29 May 2019 16:48:27 -0400 (EDT) (envelope-from doug@fledge.watson.org) Date: Wed, 29 May 2019 16:48:27 -0400 (EDT) From: doug Reply-To: doug@safeport.com To: =?ISO-8859-15?Q?Trond_Endrest=F8l?= cc: freebsd-questions@freebsd.org Subject: Re: ssh timeout question In-Reply-To: Message-ID: References: <44imtu8k54.fsf@be-well.ilk.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 90B2786864 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [6.52 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[doug@safeport.com]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.92)[0.919,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[watson.org]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[fledge2.watson.org,cyrus.watson.org]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[30.128.107.204.list.dnswl.org : 127.0.10.0]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11288, ipnet:204.107.128.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(2.61)[ip: (6.93), ipnet: 204.107.128.0/24(3.46), asn: 11288(2.70), country: US(-0.06)] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2019 20:48:31 -0000 On Tue, 28 May 2019, Trond Endrest?l wrote: > On Tue, 28 May 2019 15:16-0400, Lowell Gilbert wrote: > >> I don't run into issues with this because my remote sessions tend to >> have an application running that updates an on-screen time display every >> minute. That's not why I do it, of course. > > Unless you need X11 and/or port forwarding, why not try net/mosh? That is kind of the point, I use pine with a mouse. I was hoping someone might have any idea as to why running pine makes the session more likely to be timed out. Seems counterintuitive. When I first wrote my keep-alive script (over DSL) I did find that sending a or some other non-printing char did not stop timeouts. > mosh uses ssh to bootstrap itself before it switches to a UDP based > protocol running on a port > 60000. mosh is fairly resistant to packet > loss and allows for seamless roaming. Roaming is limited to IPv4 or > IPv6, depending on which protocol you chose when you did the initial > connect. The use of screen or tmux is highly recommended. More > information here: https://mosh.org We were thinking about using mosh with blink on IOS and kind of forgot. Thanks for the info. Doug