This question already has an answer here:
I want to achieve the following scenarios:
- Connect to remote machine via SSH
- Run command on remote machine - that usually takes 3 days to complete and shows output while working
- Leave the SSH connection without killing that command terminal process
- Connect to remote machine from other machine and see the running output of command.