ssh cloud_raspi 'fswebcam tapeiga.png && cat tapeiga.png' | display
Take screenshot on remote and display locally
ssh cloud_raspi 'DISPLAY=:0 scrot tapeiga2.png && cat tapeiga2.png' | display
Live video recording on remote and live display locally
ssh cloud_raspi ffmpeg -an -f video4linux2 -s 640x480 -i /dev/video0 -r 10 -b:v 500k -f matroska - | mplayer - -idle -demuxer matroska
Turn on TV connected on HDMI, on remote
ssh cloud_raspi 'vcgencmd display_power 1'
Turn off TV connected on HDMI, on remote
ssh cloud_raspi 'vcgencmd display_power 0'
Live Record Video Locally and Live Display on Remote TV
ffmpeg -an -f video4linux2 -s 640x480 -i /dev/video0 -r 10 -b:v 500k -f matroska - | ssh cloud_raspi 'DISPLAY=:0 mplayer - -idle -demuxer matroska'
Live Record Audio Remotelly and play Locally
ssh cloud_raspi "arecord -f cd -D plughw:1 | ffmpeg -ac 1 -i - -f ogg - " | mplayer - -idle -demuxer ogg
Live Record Audio Locally and Play on Remote
arecord -f cd -D plughw:1 | ffmpeg -ac 1 -i - -f ogg - | ssh cloud_raspi 'mplayer - -idle -demuxer ogg'
or
arecord -f cd | ssh cloud_raspi 'aplay'
or
arecord -f S16_LE -r 3600 | ssh cloud_raspi 'aplay'Connect on VNC via cloud
On remote machine start VNC Server
and start a tunnel
ssh -R 6900:localhost:5900 user@mycloudserver.com
On local machine start a tunnel
ssh -L 5900:localhost:6900 user@mycloudserver.com
and connect vnc client to localhost
vncviewer localhost