Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • I could not replicate the behaviour. Client is Mac OS and ssh host is Ubuntu server. CTRL + z does not do anything. What is your client OS? Commented Jan 20, 2017 at 16:51
  • That was my mistake, you need to execute CTRL+b CTRL+z not just CTRL+z Commented Jan 20, 2017 at 16:58
  • Could you try tmux attach instead of fg Commented Jan 20, 2017 at 17:00
  • I don't get a prompt back, I don't get the opportunity to type anything. Hence why I have to close the window. After CTRL+b CTRL+z on the ssh session I don't get any prompt back. It just sits and hangs for me. Commented Jan 20, 2017 at 17:22
  • 1
    I double checked with CTRL + b CTRL + z. fg is recovering the sessions. My tmux version is 2.1 Commented Jan 20, 2017 at 20:27