...
Start the camera server
- ssh onto the pi
- (optional/advanced): start a 'screen' session with 'screen'.
Then you can detach from the server via CTRL+A, CTRL+D (the server remains alive even after you close the ssh connection)
run 'screen -r' to reattach - run the server code as root
...