Things I forget: tmux for headless SSH use

2018/09/11

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