From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.sprit.org (smtp.sprit.org [85.124.251.71]) by sourceware.org (Postfix) with ESMTPS id 9C12B384A01C for ; Thu, 21 Jan 2021 15:49:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9C12B384A01C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=stefanist.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=mb@stefanist.com Received: from localhost (80-109-70-59.cable.dynamic.surfer.at [80.109.70.59]) by smtp.sprit.org (Postfix) with ESMTPSA id 2F5AA13D0086; Thu, 21 Jan 2021 16:49:02 +0100 (CET) Subject: Re: Terminal output disappearing after SSH into cygwin References: <644c7c45-b1a5-8c9f-8d6d-70b99a06c378@stefanist.com> From: Martyn B To: cygwin@cygwin.com Message-ID: <9072877f-c67d-5767-7a58-274abecfecbf@stefanist.com> Date: Thu, 21 Jan 2021 16:49:01 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS, SPF_NONE, TXREP autolearn=no 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@cygwin.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: , X-List-Received-Date: Thu, 21 Jan 2021 15:49:05 -0000 Marco Atzeri via Cygwin wrote on 21.01.21 16:13: > > very simple: > > ssh |& tee /tmp/ssh.log > > > you can also use screen logging capability > https://stackpointer.io/unix/linux-ssh-session-logging/564/ Thanks for the suggestions. I am aware of tee and screen and might as well even copy/paste the screen content before I terminate the connection. Still I'd prefer to 1) understand why this happens. - Is this the Cygwin standard behavior? 2) thus hopefully learn a solution that keeps my server logins uniform and leaves the chronology of the terminal window lines untouched I've posted the exact output and some additional information here: https://sourceware.org/pipermail/cygwin/2021-January/247546.html