Execute a program runs background via SSH
By Haktan Suren
Oct 3rd, 2012
This is extremely helpful to automate running some program through bash
ssh -f username@ipadress "cd some/directory;" program.extension
ssh -f email@example.com "cd home/executables/bin;" haktan.pl
This will first ssh to given address, cd to the directory and run haktan.pl file and produce PID and exit.