Adding ssh password to raspberry pi

  1. Create ssh-key
    ssh-keygen -t rsa -b 4096 -C ""
  2. Add content to the raspberry pi .ssh/authorized_keys

    echo ~/.ssh/ | ssh pi@ "cat >> .ssh/authorized_keys
  3. Add new login part in your .ssh/config file
    vi .ssh/config
    Host pi
     User pi
     IdentityFile ~/.ssh/id_rsa


This entry was posted in Yocto and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *