From owner-freebsd-questions@freebsd.org Tue May 28 19:36:04 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 DA1E315AA014 for ; Tue, 28 May 2019 19:36:04 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E5F018E643 for ; Tue, 28 May 2019 19:36:03 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.15.2/8.15.2) with ESMTPS id x4SJZuEg097299 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Tue, 28 May 2019 21:35:56 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ximalas.info; s=default; t=1559072156; bh=tzlbSd+nRt9ziWPx2CAA2XwOCt2GFRUxkgcfkPfzxgU=; h=Date:From:To:Subject:In-Reply-To:References; b=a4v3IXOuVXXpM1Ol5NBUBzTcJIgnv8yP/nrlOaW+8chwGBPadBO8MoRWdFqjvfuvC 5lFR4GUvUNARV5N/x5vOHxfO2ouAqPsN4kNtH3VUGTo0WRy6BP6p2cOJbrgG9sdcSC CJu4NOe+jTzzuGVJ2CYbVT2FozW4/+k9DfPMWrWqQm6j8GnHtZWLMgBRcXz538dRCp 8vZqsdx/UlyoRX9/CbDdS++FZVCtpqWTS6Etw/bKIkC4+2+MJ/DoKc0C4GWeiqx/dI cTb42kp71UfAs3lYr41o0DMltR7v9JWENBjQTjJ6P835ej7askmcZHtjwuy7PlhLid tN4WYMZveegpw== Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.15.2/8.15.2/Submit) with ESMTP id x4SJZuOR097296 for ; Tue, 28 May 2019 21:35:56 +0200 (CEST) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Tue, 28 May 2019 21:35:56 +0200 (CEST) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Sender: Trond.Endrestol@ximalas.info To: freebsd-questions@freebsd.org Subject: Re: ssh timeout question In-Reply-To: <44imtu8k54.fsf@be-well.ilk.org> Message-ID: References: <44imtu8k54.fsf@be-well.ilk.org> User-Agent: Alpine 2.21.9999 (BSF 287 2018-06-16) OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on enterprise.ximalas.info 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: Tue, 28 May 2019 19:36:05 -0000 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? 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 -- Trond.