> For the complete documentation index, see [llms.txt](https://docs.clar.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.clar.io/connecting-your-data/first-party/getting-your-data-securely-into-clario/public-key-exchange.md).

# Public Key Exchange

Safety first.

## Creating an SSH Key (Windows and macOS)

In a command prompt or terminal window, run the following commands:

{% hint style="info" %}
Associating the key with your email address helps you to identify the key later on and assists our support team when debugging connection issues.
{% endhint %}

```shell
mkdir -p .ssh
cd .ssh
ssh-keygen -o -a 100 -t ed25519 -f "clario" -C "yourEmailAddress"
```

You'll see a response similar to this:

<figure><img src="https://1852947362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0p4HTPDjOahWtkk9kcMd%2Fuploads%2FYzPsWyveXZONhvxo3ogz%2Fimage.png?alt=media&amp;token=873e6734-2bcd-4fb0-bc55-aeec18cd1eed" alt=""><figcaption></figcaption></figure>

Just press \<Enter> to accept the default location, file name, and empty passphrase. The whole interaction will look similar to this:

<figure><img src="https://1852947362-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0p4HTPDjOahWtkk9kcMd%2Fuploads%2FOeX8YqFr5SnsGPo6k2e8%2Fimage.png?alt=media&amp;token=9f75180e-6214-4cb4-aa17-9fc1942d7bcb" alt=""><figcaption></figcaption></figure>

## Next Steps

Please contact <support@clar.io> or your Clario Customer Success representative to activate public-key authentication for your account. Be sure to include the `clario.pub` file created during the process above.
