Leaving a service/script running even after finishing the ssh session

You want to run a service/script on a server that you have logged in with ssh, but you want to leave it running even after you have terminated the ssh session.

Use the nohup command so do the following in your ssh session:

nohup /service/i_want_to_run &