---
title: Logging in with SSH Key
slug: end-user-guide-3-5-0-legacy-ui/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
---

You can use an SSH key instead of the Kron PAM user password to log in to the Kron PAM SSH proxy and SFTP Proxy by using an SSH and SFTP client.

You need to open **the SSH Key Manager** screen to enable this feature and generate a new public and private key.

**Option 1**: To generate a new public and private key, follow the steps below:

1. Navigate t&#x6F;**&#x20;User Management** > **SSH Key Manager** >**&#x20;SSH Key Management**. Your public key will appear on the screen.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/yo8P1wx5QGNakGbH7Lzzw_image.png "SSH Key Management")

- To generate a new public and private key, click **Generate New Key Pair**. Confirm the information message by choosing **Yes**.
- Select an option from the pop-up window: a) **Download Public Key**, b) **Download Private** **Key** or c) **Copy to Clipboard**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/42k9vNatrO-EW5Ky8Y7n7_image.png "Private SSH Key")

:::hint{type="info"}
You must add the SSH key to the SSH/SFTP Client used to connect to the Kron PAM SSH/SFTP Proxy.
:::

**Option 2:&#x20;**&#x59;ou can use your public key instead of generating a new key pair.

To upload the public key:

1. Navigate to **User Management&#x20;**> **SSH Key Manager**.
2. Open the **Upload Public Key** tab.
3. Import the public key into the open window and click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/bW_VHl8r2Dm3edz_lt_pZ_image.png "Upload Public Key")

If an SSH Key is not used for logging in to the Kron PAM SSH Proxy, the uploaded public key must be deleted by following the steps below:

1. Navigate to **User Management&#x20;**> **SSH Key Manager**.
2. Click th&#x65;**&#x20;Remove Public Key** tab.

