Contents

Key generation

Generate your SSH key by typing in the console

ssh-keygen -t ed25519 -C "User-OS-Hostname"

Save the passphrase to the keychain

Use the following command and enter your password as prompted to save it in the Apple keychain

ssh-add --apple-use-keychain ~/.ssh/id_ed25519

Check if the identidy was loadead successfully

Use the following command to list all added identities

ssh-add -l