> 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/quickstart.md).

# MacOS Yubikey Smartcard/PIV instructions.

Installation instructions for MacOS using "brew" and Yubikey tools.  This document instructs users on setting up their Yubikeys (PIN, etc.) and uploading the public key to Key9.

## The advantages of PIV (Personal Identity Verification):

1. Works with older Yubikeys.
2. Can work across multiple operating systems (Windows, Linux,  MacOS)
3. The SSH private key is stored directly on the Yubikey itself. &#x20;
4. It's possible to pass PIV data to other SSH sessions via forwarding.

## The disadvantages of PIV:

1. More steps to get set up.&#x20;
2. To use other operating systems,  SSH must be configured to use Yubikey PIV.
