> 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/rsa-password-protected-ssh-key/2.-generating-rsa-ssh-key.md).

# 2. Generating RSA SSH Key

On the system you with to generate the key,   type:

`ssh-keygen -t rsa`

When prompted for a "passphrase",  enter a securty password/passphrase.   This should be complex and/or something that you keep in a password manager.    This is what your terminal should look like after key generation.&#x20;

<figure><img src="https://2354768316-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZbcN0W0VyihswJIdHDaE%2Fuploads%2FNX9UY0bJbFikolDSQ2vD%2Fimage.png?alt=media&amp;token=29393b01-d904-42a4-8cda-2d8fa92d8637" alt=""><figcaption><p>RSA Key Generation</p></figcaption></figure>
