Starting Canon Rebel T6 DSLR Camera as Webcam
Turn on camera and plug in USB. Then find your camera.
gphoto2 –auto-detect
When your camera is displayed, start capturing with gphoto, and output with ffmpeg.
gphoto2 –stdout –capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0
Regenerate Host Keys
Regenerate your host keys in a new ProxMox container from template:
sudo dpkg-reconfigure openssh-server