> For the complete documentation index, see [llms.txt](https://docs.k9.io/key9-identity/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.k9.io/key9-identity/ssh/installation-and-setup/openssh-with-yubikey-fido2-protected-keys/3.-enrolling-your-public-key-to-key9.md).

# 3. Enrolling your public key to Key9

The SSH public key needed for Key9 enrollment will be stored in your home directory under a directory named `.ssh`&#x20;

You'll want to copy the contents of "id\_ed25519\_sk.pub".   For example,  on a MacOS/Linux system, you can do the following:

`cat $HOME/.ssh/id_ed25519_sk.pub`

Copy and paste the contents of the `id_ed25519_sk.pub`&#x20;

Login into Key9 and in the top right corner will be your name with a “pull down” menu option.  Pull that down and go to “My Profile”.  Once in your profile,  select “Add SSH Key” (right of “SSH Keys”).&#x20;

Give your new key a name and copy/paste the public key.

<figure><img src="/files/bpMina53gBen0DtS3oQh" alt=""><figcaption><p>Adding a new key to Key9</p></figcaption></figure>
