Uploaded January 2025 | Updated September 2026, 2 weeks ago
SSH, or Secure Shell, is a cryptographic network protocol used with client-server architecture for securely accessing and managing devices remotely. In the context of the Yocto Project and OpenEmbedded, SSH allows developers to interact with their embedded systems efficiently. To include SSH functionality in your Yocto-built image, you can add an SSH server by modifying the conf/local.conf file. Specifically, add the following line to the end of the file: EXTRA_IMAGE_FEATURES:append = " ssh-server-dropbear". This configuration ensures that the Dropbear SSH server is included in your image. To verify that EXTRA_IMAGE_FEATURES is correctly set, you can use the bitbake-getvar command. For example, running bitbake-getvar EXTRA_IMAGE_FEATURES will display its current value, helping you confirm that "ssh-server-dropbear" has been successfully added. The video demonstrates SSH on Raspberry Pi 5 with core-image-base built with the Yocto Project LTS release Scarthgap. Follow these steps to enable SSH as shown in the video:
* Enter the directory where core-image-base was built following the steps from episode 1.
* Initialize the build environment:
source oe-init-build-env
* Append the following line to the end of conf/local.conf:
EXTRA_IMAGE_FEATURES:append = " ssh-server-dropbear"
* Verify that the value of variable EXTRA_IMAGE_FEATURES contains ssh-server-dropbear:
bitbake-getvar EXTRA_IMAGE_FEATURES
* Build the image:
bitbake core-image-base
🔗 Related Videos
===
Episode 1: The Yocto Project on Raspberry Pi 5: Building an Embedded GNU Linux Distribution
youtu.be/fY7u6PiV8qA?si=-DgvkJ_yTsiX05vx
Episode 3: The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers
youtu.be/kQnOidK_U3M?si=5KiS1FK87OwfdQ0m
Episode 4: The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader
youtu.be/9tohomiv1Ug?si=kylUv0uT_BFmXt5g
Episode 5: Modifying U-Boot Environment in Linux with fw_setenv
youtu.be/SB5NvIF1IEU?si=0So6Gfv9hQR7gQgY
Episode 6: Runtime Package Management with apt and deb Packages
youtu.be/6i5UtF7fiaA?si=8DuUHUxywVEEtdyN
Episode 7: Create a New Layer, a New Recipe (.bb) and .bbappend
youtu.be/W5J1W_Cy14Y?si=ftu5WpeGqel8BZhf
📚 Useful Links
===
yoctoproject.org
docs.yoctoproject.org
openembedded.org/wiki/Main_Page
anavi.org/article/299
SSH, or Secure Shell, is a cryptographic network protocol used with client-server architecture for securely accessing and managing devices remotely. In the context of the Yocto Project and OpenEmbedded, SSH allows developers to interact with their embedded systems efficiently. To include SSH functionality in your Yocto-built image, you can add an SSH server by modifying the conf/local.conf file. Specifically, add the following line to the end of the file: EXTRA_IMAGE_FEATURES:append = " ssh-server-dropbear". This configuration ensures that the Dropbear SSH server is included in your image. To verify that EXTRA_IMAGE_FEATURES is correctly set, you can use the bitbake-getvar command. For example, running bitbake-getvar EXTRA_IMAGE_FEATURES will display its current value, helping you confirm that "ssh-server-dropbear" has been successfully added. The video demonstrates SSH on Raspberry Pi 5 with core-image-base built with the Yocto Project LTS release Scarthgap. Follow these steps to enable SSH as shown in the video:
* Enter the directory where core-image-base was built following the steps from episode 1.
* Initialize the build environment:
source oe-init-build-env
* Append the following line to the end of conf/local.conf:
EXTRA_IMAGE_FEATURES:append = " ssh-server-dropbear"
* Verify that the value of variable EXTRA_IMAGE_FEATURES contains ssh-server-dropbear:
bitbake-getvar EXTRA_IMAGE_FEATURES
* Build the image:
bitbake core-image-base
🔗 Related Videos
===
Episode 1: The Yocto Project on Raspberry Pi 5: Building an Embedded GNU Linux Distribution
youtu.be/fY7u6PiV8qA?si=-DgvkJ_yTsiX05vx
Episode 3: The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers
youtu.be/kQnOidK_U3M?si=5KiS1FK87OwfdQ0m
Episode 4: The Yocto Project on Raspberry Pi 5 Episode 4: U-Boot Bootloader
youtu.be/9tohomiv1Ug?si=kylUv0uT_BFmXt5g
Episode 5: Modifying U-Boot Environment in Linux with fw_setenv
youtu.be/SB5NvIF1IEU?si=0So6Gfv9hQR7gQgY
Episode 6: Runtime Package Management with apt and deb Packages
youtu.be/6i5UtF7fiaA?si=8DuUHUxywVEEtdyN
Episode 7: Create a New Layer, a New Recipe (.bb) and .bbappend
youtu.be/W5J1W_Cy14Y?si=ftu5WpeGqel8BZhf
📚 Useful Links
===
yoctoproject.org
docs.yoctoproject.org
openembedded.org/wiki/Main_Page
anavi.org/article/299










