I want to start a shell script that resides on a remote machine. When I use
ssh user@example.com /path/to/script.sh
it needs the ssh connection to be open until the script has terminated.
But I need the script to continue to run, even after I close the ssh connection until the script finishes by itself. I just want to start a process and then forget about it.
How can I do this using ssh?
Thanks a lot!
P.S.: This is not a duplicate of this stackechange question.