DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 5774MvnO3013908 Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 5774MvnO3013908 Authentication-Results: delorie.com; dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=dY2gnHJK X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4628D3858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1754540576; bh=Vyk2/xK8t60nIgQg64YCQkn8bkaa8jjubRFpE6fKUJ0=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=dY2gnHJKfveovw+Kzc5mv/Y4YEjLxXVIklF89JawBu7dgYtiTgHgjVm1yxwTQIvF8 8XblB1XS16reAy5FsZejWjHTTzcxm7Lzud4PG1Np4Fv+YOweF3axp6f8ztk5E1beU1 xnAArWVROBHXi6X5X97NdG3BekO2H1L0ZN1n+RBg= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2E50D3858D26 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2E50D3858D26 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1754540518; cv=none; b=vex/zFCYQXtqKetJakTixmmYgRZ+zRuajEfeXdci8qA3Km+OypKaII9CW21PkzhhoFCPH8zVHMwhkU9kYo6gT95+RAzrE1AR+4apQVKMy3AmAl8VfZhNSafHs1/5hFh6CGwPp8B2ztxYomA2d87ipaYNXW/riVl1GZybW4DpEeA= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1754540518; c=relaxed/simple; bh=ixAb6SDvmsL20jjPK0XF8tBegzixgtxFdcwN+JkWZYs=; h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature; b=f4C3yDoF7TTfo4MpOJl9+eC9MvJ+JDdTAfBUOVta19VW+wZ8vsYjrZmRE1radETY4FFvh+j+g69NQtvcyQgyYMyBQlGiaFzYQwHljxQwu8ka3JBQBQz37UfkT9GKAVc75mI/JEWcgOb1CwBhCuCxC6xAysLqkgr4qY/fq0xrH8o= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2E50D3858D26 Date: Thu, 7 Aug 2025 13:21:54 +0900 To: cygwin AT cygwin DOT com Subject: Re: Screen : The screen session creaeted by ssh and local console seems separated Message-Id: <20250807132154.d38418f36df0bde3c4a67562@nifty.ne.jp> In-Reply-To: <20250807131611.3e7ddc20a0dbc9432e1ba974@nifty.ne.jp> References: <20250807131611 DOT 3e7ddc20a0dbc9432e1ba974 AT nifty DOT ne DOT jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Takashi Yano via Cygwin Reply-To: Takashi Yano Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Thu, 7 Aug 2025 13:16:11 +0900 Takashi Yano via Cygwin wrote: > On Wed, 6 Aug 2025 15:32:49 +0000 > L 2750558108 wrote: > > I tried both of the built-in ssh of Windows and the cygwin's one, but the result was the same > > > > Specifically, these are what i did > > 1.Download the cygwin setup.exe and install cygwin and screen package > > 2.Add the cygwin/bin to PATH environment variable > > 3.Open a local console > > 4.excute "screen -S name" > > 5.press ctrl+a+d to detach > > 6.Open another local control > > 7.execute "ssh username AT localhost" and login > > 8.in the ssh connect, execute "screen -r name", and see the command no output exit or the console stuck > > Are you sure? This should work. > > Though, > 1) Open a local console > 2) execute "ssh localhost" and long ^^^^ login > 3) execute "screen" > 4) press ctrl+a+d to detach > 5) Open another local console > 6) execute "screen -r" > does not work. > > This is because the console device cannot be accessed from another > session (inside ssh login). > > This is the limitation of current cygwin console feature. > > However, > 1) Open a local console > 2) execute "ssh localhost" and long ^^^^ login > 3) execute "screen" > 4) press ctrl+a+d to detach > 5) Open another ***mintty*** > 6) execute "screen -r" > should work. > > -- > Takashi Yano > > -- > 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 -- Takashi Yano -- 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