When I try to run a command on a remote host
ssh [email protected] "fswebcam -d /dev/video0 --save -" > img1
I always get at the top of the img1 file mixed in
^]kfswebcam -r 1280x960 -d /dev/video0 --save -\ÿØÿàJFIFÿþ>CREATOR: gd-jp
Which causes the file to no longer be a valid JPEG image