Greetings, L 2750558108!

> But if that's the case, I won't be able to achieve the functionality I want.

> The actual scenario is as follows: my friend set up a server host and runs
> a console server program on it.

Is that a Windows host or Linux?

> I hope to remotely access his host via ssh at any time and use his server
> program console (including viewing historical messages and inputting
> commands), while he can also directly use the console of this program on the
> server host.

If you want to share the same console, GNU screen needs to be configured in a
certain way. And that's not an easy setup.
I would strongly recommend to look into tmux instead.

> By the way, I found that the situation described in this post
> (https://stackoverflow.com/questions/67443908/behavior-of-screen-over-ssh-cygwin-screen-detachment)
> is exactly the same as what I encountered while looking for help.

That issue has been fixed like 3 to 5 years ago.

screen -aS main
^A^D
screen -aDR main


-- 
With best regards,
Andrey Repin
Saturday, August 9, 2025 14:40:08

Sorry for my terrible english...


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