Reference Guide
...
Session Manager
SSH Proxy

SSH Sessions Duration-Based Limitation Settings

User sessions’ duration can be limited. This property is controlled by a file under the nssoapp service. To set a time limit:

  1. Navigate to Device Groups.
  2. Right-click the desired Device Group, and select Show Properties.
  3. Add the sessionDurationLimitMinute property with the value in minutes
  4. Establish an SSH connection to the Kron PAM server.
  5. Set the required parameters in /u01/nssoapp/conf/nsso.properties using the commands: cd /u01/nssoapp/conf/ vi nsso.properties
  6. 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 30, the warning message will be shown 60 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 nssoapp with the command: systemctl restart nssoapp