SSH public key authentication

A default public key is added to the list of authorized hosts in a Yocto image. To log in, you need a private SSH key which you can get using:

curl https://embed.horus.nu/documentation/ssh/id_ed25519 > yocto_id_ed25519

On linux: update the permissions of the key file: chmod 600 yocto_id_ed25519.

Then you can log in using:

ssh -i yocto_id_ed25519 root@192.168.xxx.xxx

WARNING: Using the default keys in production is unsafe. Generate your own SSH key pair and add your public key to your device's authorized keys list (located at /home/root/.ssh/authorized_keys).