What it is
A key on this device is made inside the Secure Enclave, the secure chip of your Mac, iPhone or iPad. The private key cannot be copied, exported or synced.
Create one
- Open Keys. On Mac choose New Key, on iPhone and iPad choose +.
- Choose Key on This Device.
- Give it a Name, such as the name of the device.
- Keep Ask for Touch ID or Face ID each time it is used on if you want to confirm every sign-in.
- Choose Create key.
The key shows as This device only, with the type Device key.
Use it on a server
- Open the key and choose Add to a server, as with any key. See SSH keys.
- Choose Use to sign in, or choose the key in the server's Key field.
- Connect. If you asked for it, confirm with Touch ID or Face ID.
The public key is of the type ecdsa-sha2-nistp256, which OpenSSH servers accept by default. To check on the server:
sudo sshd -T | grep pubkeyacceptedalgorithmsOn several devices
Each device makes its own key. Create one on each device and add each to your servers. A server can hold many keys in its authorized_keys file, one per line.
If a device is lost, remove its key from your servers, and the device from your account: see Your account.
For a key you carry from computer to computer, see Security keys.