Press the “+” button on the keychain to add a new key.
Now, using the “Generate” tab, enter the name of the key (optional, but useful for recognizing the key when there are many), select the type of key ED25519 (recommended), ECDSA or RSA and its size, finally enter a passphare for encrypt the key (optional, but recommended to protect the key).
At this point it is possible to generate the key pair (public and private). The private key will be used by RaspController, while the public key will need to be copied to the Raspberry Pi.
There are three ways to get the public key onto your Raspberry Pi:
– Send public key to Raspberry Pi: appends the key to the ~/.ssh/authorized_keys file of a Raspberry Pi already in your device list, one you can already connect to some other way (with a password, for example). This is the quickest option, since it requires
no manual work on the Raspberry Pi. Keys that are already authorized are left untouched, and the key will only be valid for the user that device logs in with.
– Export public key to file: saves the key as a .pub file on your phone or tablet, to be copied to the Raspberry Pi manually (you need to authorize the key on the server).
– Share public key: opens the Android or iOS share sheet to send the key wherever you need it: e-mail, cloud storage, another computer (you need to authorize the key on the server).