* Is that a Windows host or Linux? Both the host and my pc are Windows
* 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. What should I do for that? I couldnt find any information on the Internet * I would strongly recommend to look into tmux instead. I have tried tmux but also meet more problem. Sometimes even I try to reattach a session opened in the same local console (no ssh thing), it fails and told me "open terminal failed: not a terminal". But sometimes it can reattach correctly in the local console, when I try ssh it says "open terminal failed: not a terminal" again. It made me confuse. What should I do to achieve my intended with tmux? * That issue has been fixed like 3 to 5 years ago. * * screen -aS main * ^A^D * screen -aDR main Seems not work for me. After execute "screen -aDR main" in ssh, the console frozen directly ________________________________ 发件人: Andrey Repin <anrdae...@yandex.ru> 发送时间: 2025年8月9日 19:48 收件人: L 2750558108 <l2750558...@outlook.com>; cygwin@cygwin.com <cygwin@cygwin.com> 主题: Re: Screen : The screen session creaeted by ssh and local console seems separated 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