SSH using key based login

Getting Started


These steps need to be performed on the device through which you will be accesing the board (For eg: Laptop, PC, Server)

Step 1: Generating private and public key


Step 2: List the generated Key

ssh-keygen -l

Step 3: Copy the public key to the board

ssh-copy-id -i ~/.ssh/mykey username@ip

Step 4: Try to ssh into the board


You’ll be asked your private key

Step 5: Enter the private key

After entering the private key it will login into the board