From owner-freebsd-questions@freebsd.org Sun Jun 9 01:58:34 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 32AF915B93F3 for ; Sun, 9 Jun 2019 01:58:34 +0000 (UTC) (envelope-from anders@jensenwaud.com) Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 89DD48318B for ; Sun, 9 Jun 2019 01:58:32 +0000 (UTC) (envelope-from anders@jensenwaud.com) Received: by mail-pl1-x634.google.com with SMTP id bi6so1857377plb.12 for ; Sat, 08 Jun 2019 18:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jensenwaud-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=znqcDIvoHd/9cd9EpKXHxMvGSOx44DH6S6OJVl0kztU=; b=oQcaf2qU/2Wpw+2O86x/q2Hcx8zvX7+xF4h2lHl/ZcfaA+5cba0ciNqOV8HUBXZGv4 PdaVcaSsNLD6R4jC1wiz92GP5cR1c2XWywy+AJuyol0uvlAe/G5xOap/69RQ/rVm9tu4 aUDqEo2CirkRywzGO+SlFdzD757xJSNy7PcalhTJD0vfwDhpiPQbH+CBdRzTaYqOfrBI /yUryjTbk7ag+rKLPIZnlVW8PuegQAn6seyWfw13UlIEbXqsFi5NM3q9s+l8as+UGPcV F5/VzKmyHLj1no13pgzTS2LswpoDUHDn997589O9aatIgcEfnzq+JaXS1Efb1UwTgM3D PuFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=znqcDIvoHd/9cd9EpKXHxMvGSOx44DH6S6OJVl0kztU=; b=XJafn0tf4HUR+sbVw8E4LtdEWDUI6HZa47GryDZ/uUkqovBeIrDqAM4rnsaJJMCjOl QfxPcbDgSd83kpMX9t16Q+PIT0sGoSEdtlvslJ8A81hV9WwXela9EBPDK8j6B2BxKB9R T5d5EFKC2hcdM4GsAiIuJ2PpfUMNEcziJB465MlJqsqNRXaR4ZKQd8HEVJTFmFRby4Jk pZa7kqWMNo2I+JEmzTvLgIL1zNpIKYkTk4rBo5n3ZWVc+nv4sSLN/7xhB/kFr3MU1kAj 9JHr7fzr7ftKYbyjVPcHdb8XuQtIEO9J9VJ5Q/RQkirVTOqq8R6jP/ByBTowtrxIbASv B7BQ== X-Gm-Message-State: APjAAAW1+vaV58zCI9Vfl0PtIkloHsMRpKLb3VG6570DFbqsablgY/FI sfwLKs5BTJ3EXIIUz3EuYcKff75/63rMAQ== X-Google-Smtp-Source: APXvYqzitlMlLztvo2SKJlmQxF9GVsiovTV0B0XwRcEL3bGFF7aoccPXXQ6VWhcoKwxl5yIuhqCmCg== X-Received: by 2002:a17:902:d717:: with SMTP id w23mr20911423ply.275.1560045511009; Sat, 08 Jun 2019 18:58:31 -0700 (PDT) Received: from kennedy.lan ([59.167.161.86]) by smtp.gmail.com with ESMTPSA id c124sm7283360pfa.115.2019.06.08.18.58.29 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 18:58:30 -0700 (PDT) Subject: Re: ssh timeout question To: freebsd-questions@freebsd.org References: <44imtu8k54.fsf@be-well.ilk.org> From: Anders Jensen-Waud Message-ID: <4e4dfb73-fcf8-3255-d36f-a08c29d04287@jensenwaud.com> Date: Sun, 9 Jun 2019 11:58:26 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 89DD48318B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=jensenwaud-com.20150623.gappssmtp.com header.s=20150623 header.b=oQcaf2qU X-Spamd-Result: default: False [-6.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[jensenwaud-com.20150623.gappssmtp.com:s=20150623]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[jensenwaud.com]; DKIM_TRACE(0.00)[jensenwaud-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[alt1.aspmx.l.google.com,aspmx.l.google.com,aspmx5.googlemail.com,aspmx2.googlemail.com,aspmx3.googlemail.com,alt2.aspmx.l.google.com,aspmx4.googlemail.com]; RCVD_IN_DNSWL_NONE(0.00)[4.3.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.95)[-0.948,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; IP_SCORE(-2.89)[ip: (-8.90), ipnet: 2607:f8b0::/32(-3.20), asn: 15169(-2.30), country: US(-0.06)] 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: Sun, 09 Jun 2019 01:58:34 -0000 On 29/5/19 5:35 am, 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? > > 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 I can second this. It works really nicely, especially when working on a mobile connection / on the go.