Installing ssh-server-dropbear for embedded linux in yocto project

The step-by-step

  1. Change the build/conf/local.conf by adding the following lines

  2. #add the feature :-> ssh-server-dropbear
    EXTRA_IMAGE_FEATURES += "debug-tweaks ssh-server-dropbear"
  3. Choose an image, for example, core-image-minimal

    $compile your source code ..
    $ time bitbake core-image-minimal

Run The Image

# run the final image 
#runqemu <image-name> nographic
runqemu qemux86-64 nographics 
#booting process started 

Check The SSH

ssh -V  // check version of the dropbear 

Take The SSH

$ifconfig   # find the ip 

#open the terminal of local machine
#type the command 
ssh root@ip-address

Last updated