To establish a password-less connection between the SBC and the remote server:
Generate key on the remote server:
generating public/private rsa key pair.
Enter the file in which to save the key (/home/<username>/.ssh/id_rsa): testingkey
- Enter passphrase (leave it empty if there is no passphrase).
Enter same passphrase again, and your identification will be saved in testingkey.
Your public key has been saved in testingkey.pub.
The key fingerprint is:
The key's randomart image is:
On the remove server, edit /.shh/config file as shown below.
The keytest file is the one that is already installed on the SBC under authorized keys.
Using ssh-copy-id, copy the key to the SBC:
Number of key(s) added is 1.
- Log into the machine with "ssh 'firstname.lastname@example.org'" and check to ensure that only the proper key(s) were added.
On the SBC, check that no password prompt appears.