June 13, 2024How to Detach Sessions From a TerminalWhen we do production deployments at my team at Canonical, we log into a bastion server and execute a long running command from there. Long running as of 30 minutes. The script goes through all our servers and deploys the latest changes. Needless to say that it would not be optimal when e.g. the connection dies during the deployment, as this would stop the deployment right in the middle. Hello terminal multiplexer Most engineers probably heard of tmux and screen before....