0
I've got a server (raspberry PI 3 "A") which functions as a webserver.
Additional I've got a client (raspberry PI 3 "B") with a camera connected.
I've created a script on the client, which creates an image of the camera and then sends it automatically to a volume share of the server.
With a simple <img>
HTML tag I want to show the image on the website.
Now I have to manually start the script, which triggers the camera.
How can I start a script from the server(webserver) which triggers the script from the client automatically?
I tried to do it with sshpass. Unfortunately that did not work.
How would it work via SSH PASS or what else is a useful way?*
Now i understand how to use sshpass and now I can start a script from PC A to start a Script from PC B. – Greg – 2018-01-02T17:53:49.340