The answer to question 1 is c.
The answer to question 2 is to add an ampersand to the end of the ssh command line - i.e.
ssh user@there yourscript.sh &
This will tell your local bash script to invoke ssh and immediately continue to the next command. The ssh command is performed as a child process.