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@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
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
3) execute "screen"
4) press ctrl+a+d to detach
5) Open another ***mintty***
6) execute "screen -r"
should work.

-- 
Takashi Yano <takashi.y...@nifty.ne.jp>

-- 
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

Reply via email to