---
title: Reason Field in SSH Connections
slug: kronpam-reference-guide-3-6-0/reason-field-in-ssh-connections
description: Learn how to enable the feature on Kron PAM Web GUI that allows users to provide a reason for their device connection. The reason will be logged in session logs and displayed in approval request emails and notifications. Simply set the "reasonRequiredForC
docTags: 
createdAt: 2022-07-27T14:03:42.000Z
---

The reason field can be enabled to be completed by the users when connecting to devices. The text entered as the reason for the connection appears in the Session Logs and the managerial approval request emails and notifications. To enable this feature, the **reasonRequiredForConnection** property must be **true** on a device group that includes the target devices.

1. Log in to the Kron PAM Web GUI.
2. Navigate t&#x6F;**&#x20;Devices> Devices.**
3. Click the desired **Device Group,** and select its properties.
4. Click **Edit&#x20;**&#x74;hen **Next&#x20;**&#x62;uttons.
5. Expand th&#x65;**&#x20;Connection Approval Methods** section.
6. Toggle on th&#x65;**&#x20;Require** user to enter a reason for connection property.

To set a minimum character limit for the reason required for the connection, the following steps must be followed to define the limit.&#x20;

1. Log in to the Kron PAM Web GUI
2. Navigate to **System Configuration Manager > Add > Add New System Parameter**.
3. Add the parameter **ssh.min.reason.character.limit**. This value can be set to 5 or greater.
4. Navigate to **Devices** > **Inventory.**
5. Choose the desire&#x64;**&#x20;Device Group**, select Edit **Connection Approval Methods**
6. Set the **Require user to enter a reason for connection** property as **true.**

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/wyfI9x9isPqIlghhXmfva_image.png" size="70" width="655" height="816" position="center" showCaption="false"}

::Image[]{src="https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/bleHR7eZ6syCvlHsWTaKc_image.png" size="76" width="525" height="231" position="center" caption="Reason field for SSH connections" showCaption="true"}

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/XZnGi3MulvdFC5QkkL51o_image.png)

