---
title: Global SSH Key Connection
slug: kronpam-reference-guide-3-5-0/global-ssh-key-connection
description: Learn how to use an SSH Key to connect to devices and configure it in Kron PAM for SFTP devices. Set the globalUsername and globalSshKey for the Device Group by accessing Device Management > Device Groups, right-clicking the desired group, selecting Show 
docTags: 
createdAt: 2022-08-01T18:10:56.000Z
---

If connecting to devices with an SSH Key is preferred, the **globalSshKey** should be defined for the Device Group.

If an SSH Key is also preferred to connect to an SFTP device, it can be configured in Kron PAM as well. To use an SSH Key, the **globalUsername** and **globalSshKey** need to be defined for the Device Group.

1. Navigate to **Devices > Inventory.**
2. Choice the desired device group, and selec&#x74;**&#x20;Edit.**
3. Set the privileged target device username as **globalUsername**
4. Set the SSH Key as **globalSshKey**

