SSH using key based login

Getting Started

Note

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

ssh-keygen

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

Note

You’ll be asked your private key

Step 5: Enter the private key

After entering the private key it will login into the board