Back | Next | Contents
Appendix
It's tedious to keep typing the password everytime I need to copy something or ssh into my de10-nano. So listing the steps here to ssh/scp without a password using ssh keys.
Note: If you've generated keys for github for your development machine, you can re-use the same ones. No need to create them again. In that case, skip this step.
Create a new key pair with the following command:
ssh-keygen -t rsa -b 4096 -C "[email protected]"
Press Enter
to accept default file location and name.
I prefer no passphrase, but you can enter the passphrase if you like.
The private and public keys created can be seen with:
ls ~/.ssh/id_*
ssh-copy-id root@<de10-ip-address>
Enter the password and that completes it!
linuxize.com - how to setup passwordless ssh login - Most steps taken from here.
Next | Creating a bootscript
Back | Yocto Linux
Appendix | Table of Contents