If I use byobu, exit only closes the current shell. And I have to close all the shells to terminate the session, which is terrible, because I want to keep all the shells, which is why I use byobu.

Another way is to directly close the window. But sometimes I just want to resume to my local computer.

Is it possible to close the session without disturbing byobu? Or should I always open a new tab/window for an SSH session with byobu?


Yes, of course.

You want to "detach" from your session.

You can use Byobu's hotkey, F6, or you can use the tmux escape sequence, Ctrl-a-d.

Full disclosure: I am the author and maintainer of Byobu.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.