Prerequisites:
- sshfs installed on Raspberry Pi
- server is running ssh
- pi has server account
- pi has generated ssh ID
- pi has ID loaded in active ssh-key-agent
- server pi acct has pi ID in authorized keys list
Server user account is:
pi
Server directory to mount:
/home/pi/Videos
Local directory to mount on:
./Videos
Cmd:
sshfs pi@server.nym:/home/pi/Videos ./Videos
With the mount in place, we can ...
cd Videos raspivid -o ./raspivideo.h264 -n -kto store a segment of video to the remote server's file system.