screen and tmux can be used for this. Basically you ssh to the remote machine, start a tmux or screen session, start yout program/task, then "detach" from screen or tmux. At this point you can either reattach to screen or tmux, or log out, and ssh back in later and reattach.
If your requirements are more basic and/or screen or tmux are not available, nohup may be enough. using nohup will ensure that even if your ssh connection is lost you program will continue to run.
I can't recommend any particular tutorial on these tools, but there are certainly many available on the web.
Last edited by evo2; 04-23-2013 at 03:48 AM.