Often it’s required to run some heavy command task on server and leave it for hours. This will result in requirement to keep the SSH connection open. There are a couple of solutions, but I want to tell you about one really simple which I prefer to use.
So, how to run the command:
- SSH to your server
- Run your ‘heavy’ command as usual
- Now command will be detached from current active SSH session
- That’s it!