---
title: Global SSH Key Connections
slug: kronpam-reference-guide-3-8-0/global-ssh-key-connections
description: Learn how to configure an SSH Key for a device in Kron PAM by defining globalUsername and globalSshKey for your Device Group. Follow simple steps in Device Management > Device Groups, select the relevant group, and set globalUsername as the privileged tar
docTags: 
createdAt: 2022-07-27T12:46:47.000Z
---

If an SSH Key is used to connect to a device, it can be configured in Kron PAM as well. To configure this, the **Direct Credential Username&#x20;**&#x61;n&#x64;**&#x20;Private Key** need to be defined for the Device Group:

1. Navigate to **Devices** > **Device Groups**.
2. Click the device group and select the **Properties** option.
3. Click the **Edit** and **Next** button.
4. Set the privileged target device username under the **Direct Credential Username**.
5. Set the SSH Key as a **Private Key**.

To use the Global SSH Key, the **PubkeyAuthentication&#x20;**&#x70;arameter must be defined as **yes&#x20;**&#x6F;n the target device. This parameter can usually be found in **/etc/ssh/sshd\_config**, but the parameter and its directory may differ depending on the system.
