Use ./ssh_romi_and_run.py okay maybe just stick to client_with_controller. On the romi, Best process i've used: Two split panes in terminal. cd code; cd mjpg-streamer; ./josh.sh python3 ~/code/socket-controller/server_with_serial.py