I am logging in to a remote linux machine via ssh, and then I start a batch process in tmux. However, I can't detach from the current tmux session using Ctrl + b + d. So, for starting another tmux session I have to open another terminal, ssh connect and restart the session in the new terminal.

Any suggestions how to solve this?

Edit: When I try to detach by hitting ctrl+b+d there is no reaction

Thanks Roland

  • 1
    What stops you from detaching from the tmux session? What happens when you try? Please update your question.
    – Kusalananda
    Mar 14 at 9:42
  • (1) The default is not Ctrl + b + d, it's Ctrl + b, release, then d. (2) Are you sure Ctrl + b is the prefix? It's the default prefix, one can customize it. Mar 14 at 10:33
  • @KamilMaciorowski you're absolutely right. In fact, I forgot that, and didn't find it again in the web. I just found "ctrl+b+d". Many thanks Mar 14 at 10:35

1 Answer 1


In fact, I forgot to hit "ctrl + b", release, and then d. I did it without releasing. Thanks to @KamilMaciorowski! Seems to be not well explained in the web.

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.