Reference Guide
...
Session Manager
SSH Proxy

SSH Sessions Duration-Based Limitation Settings

1min

User sessions’ duration can be limited. This property is controlled by a file under the SSH proxy service.

To set a time limit:

  1. Navigate to Devices > Inventory.
  2. Click the desired Device Group options, then click the Edit button.
  3. Click the Next button to display the Properties section.
  4. Add the sessionDurationLimitMinute property with the value in minutes at Custom Properties.
  5. Establish an SSH connection to the Kron PAM server.
  6. Set the required parameters in /u01/nssoapp/conf/nsso.properties using the commands: cd /u01/nssoapp/conf/ vi nsso.properties
  7. Add/edit the following parameter with the vi editor. nsso.cli.session.duration.limit.warning.before.sec=30 (the warning message for session termination before the time limit is reached. If the value is 60, the warning message will be shown 30 seconds before session termination. The value can be changed as desired.)
Duration Based Restriction
Duration Based Restriction

  • Once the parameters are set, save, and exit the vi editor and restart the systemctl restart pam-ssh