Things I forget: tmux for headless SSH use

productivity
Published

September 11, 2018

How to run something through SSH that takes a long time without having to stay logged in:

  1. Log into ssh
  2. Execute tmux
  3. Type command
  4. CTRL-b d to detach tmux. You can exit ssh.
  5. When returning to server, execute tmux attach

Reference