SCP Upload
Posted: Tue May 23, 2006 1:18 pm
Hi,
Sorry if this has been asked before, but I've searched it in the forum and couldn't find anything helpful.
I'd like to upload the video stream to another machine very frequently, in case, for example, someone takes the machine with the camera away (and also for backup purposes). I prefer using scp instead of ftp, so I don't have to set a ftp server up and also because I've heard scp is safer than ftp . I'm thinking of creating a daemon that every 10 seconds looks at the mysql database to find out which are the last 10 seconds images, then uploads them using scp and authentication keys to the remote machine.
I don't know though how reliable that is, or if there's a better way. I think ideally this modification of Zoneminder should write the image and then immediately send it to the remote machine. Does anyone know a way to do this, or any better way to do what I'm trying to do? I'd like to avoid running scripts on the remote machine.
Another thing, I noticed anyone has access to the events simply by accessing http://<host>/events/, even without being logged on. Isn't that a security problem? This machine is going to be connected to a network and I only want specific users to be able to look at the events.
Thanks in advance.
Sorry if this has been asked before, but I've searched it in the forum and couldn't find anything helpful.
I'd like to upload the video stream to another machine very frequently, in case, for example, someone takes the machine with the camera away (and also for backup purposes). I prefer using scp instead of ftp, so I don't have to set a ftp server up and also because I've heard scp is safer than ftp . I'm thinking of creating a daemon that every 10 seconds looks at the mysql database to find out which are the last 10 seconds images, then uploads them using scp and authentication keys to the remote machine.
I don't know though how reliable that is, or if there's a better way. I think ideally this modification of Zoneminder should write the image and then immediately send it to the remote machine. Does anyone know a way to do this, or any better way to do what I'm trying to do? I'd like to avoid running scripts on the remote machine.
Another thing, I noticed anyone has access to the events simply by accessing http://<host>/events/, even without being logged on. Isn't that a security problem? This machine is going to be connected to a network and I only want specific users to be able to look at the events.
Thanks in advance.