How do you detach a remote screen session in byobu (tmux)?

后端 未结 7 2105
[愿得一人]
[愿得一人] 2020-12-29 04:01

I am currently in a byobu-tmux session and am ssh\'ed into a screen session. How do I detach the remote screen session without detaching byobu-tmux session? Some things to

7条回答
  •  伪装坚强ぢ
    2020-12-29 04:23

    You need to switch the prefix of your local session if it conflicts with the remote session. For example, if both are using CTRL+A then you'd be in trouble. You can either send a raw command (there's a sequence for that, but I can't remember it), or go the easy route and remap your local session to Ctrl+B, then you can input Ctrl+A that will get routed to the remote session. Also not related to tmux but the ssh connection itself you can input "~." and it'll disconnect from the ssh session. Hope it helps.

提交回复
热议问题