X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9D669388A035 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1611242046; bh=hqmJCG7WKsIbD3RZmIX54+K0d/d4yugCs/YpJHU8NFs=; h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=b01vyVwM05qz8KDfmXSVh2NTew/aNYaOKzgZgwS+IaYHrro18P+Bxu/gLRfK6Rv6O UnF34kiEbdh/wAxouehQhtggma3uO/WrHK20+YvBWs5NVGhtlVXCIZYzm90YaF7/n/ dZ9dC2FphGa3L03dJOlXOt9snJNdW8oe/zSGYLFQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 664B2384BC17 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-language :content-transfer-encoding; bh=pbX7XjfAFFtscLUmjFELsZC5M4zXazV19q7a4oa5Pjk=; b=l3Fak6D74cNlKph+GfbgrwonpA3KuRzDGwIFkJpjAXZZrA+Dq1ar4yYfSQlOnlkWZh 5Uj/n8wFzg/L09rai7arpgoWqV6hZkOdOzSX/D4oUbwBFOhVaahgiCmkIoWDyBAtcd0/ KVasbErvSLeRbhJH46WqN3VbF55/dKOc5jpZ48WxTHpLjWFWQMCuJSZg2wk/AvdLjlyh B0F80f1TnQv8RlnW8eMuxIqxklHoLa5qr8b5kc2+++SyriHLPCM5Y4jkgsz1v872nfJK db12lMJK9ctevTconizgtpGks/1S8UcdzSxvWyJitlXl0A7Ml+IkiFRe+wlkjWrcTr6R 1LUQ== X-Gm-Message-State: AOAM531FYWozWAlVr2ZlKbuKOTB5hoiJKKIuVKSGbzFoiKmTiYCT2NCx 9vikt37eCF01MgSLTttbyFElchiD7M4UDg== X-Google-Smtp-Source: ABdhPJxoziynpA+5DbDKIb5g2xubaSjiGPssu3+k6j9j0wsC9y4nyTfO4xfPWLJ2L4h0x9At3+LoZw== X-Received: by 2002:a1c:99d1:: with SMTP id b200mr9429104wme.37.1611242040503; Thu, 21 Jan 2021 07:14:00 -0800 (PST) Subject: Re: Terminal output disappearing after SSH into cygwin To: cygwin AT cygwin DOT com References: <644c7c45-b1a5-8c9f-8d6d-70b99a06c378 AT stefanist DOT com> Message-ID: Date: Thu, 21 Jan 2021 16:13:59 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <644c7c45-b1a5-8c9f-8d6d-70b99a06c378@stefanist.com> Content-Language: it X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On 21.01.2021 14:08, Martyn B wrote: > Hi list! > > Usually after an ssh session, the lines in my terminal are persistant > after exiting the session. This is what I need. > > But at the moment when I exit an ssh session into Cygwin, the terminal > gets cleared and all session information is lost. > > How can I change this behavior? I need the commands and their output. > > Server: Cygwin 3.1.4-1 on Windows 10 (1909), CYGWIN cygsshd > Client: Ubuntu 20.04 / Gnome terminal, xterm very simple: ssh |& tee /tmp/ssh.log you can also use screen logging capability https://stackpointer.io/unix/linux-ssh-session-logging/564/ -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple