---
title: Logging in with SSH Key
slug: kronpam-end-user-guide-3-8-1/logging-in-with-ssh-key
description: Learn how to enhance your security by using an SSH key for authentication on the Kron PAM SSH and SFTP Proxies. Discover two methods for generating a new key or utilizing an existing one, and gain valuable insights on uploading and removing your public ke
docTags: 
createdAt: 2022-08-10T11:40:59.000Z
---

To enable this feature, the user needs to navigate to the SSH key manager screen to generate a new public and private key. Admins can manage user group authorizations for passwords and SSH keys.
To generate new public and private keys:

1. Navigate to **SSH Key section.**
2. Click the **Generate New Key Pair&#x20;**&#x74;ab.
3. A pop-up window will open with the choices: a) Download Public Key, b) Download Private Key, and c) Copy to Clipboard.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/-MfFEmutl19xM1xIHt07O_image.png "Generating new key pair")

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/ULz9tSgcgKX88bN5rZWib_image.png" size="48" width="544" height="831" position="center" caption="Generating new key pair   " showCaption="true"}

1. Generate an **SSH key** pair.&#x20;
2. **Download&#x20;**&#x74;he generated SSH key file.&#x20;
3. Enable the private key option in the SSH settings of your CLI.&#x20;
4. Add the downloaded **SSH key** file.&#x20;
5. Complete the remaining steps to establish the SSH connection.

If an SSH Key is not used to log in to the Kron PAM SSH Proxy, the downloaded key pair must be disabled by following the steps below:

1. Navigate to **Users > SSH Key Management > User Group Key Management**.
2. Click the **Options** of the desired **User Group**.
3. Choose **Disable SSH Key Auth**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/zvLs7yNHd2Z6rLMX3EmWT_image.png "Disable SSH Key Auth Section")

