You can configure the automatic logout settings so that an SSH connection to the RLM is automatically terminated after the connection has been idle for the number of minutes you specify.
Before you begin
Your system must be running RLM firmware version 4.1 or later for the automatic logout configuration to be supported. For information about downloading and updating the RLM firmware, see the Data ONTAP Upgrade and Revert/Downgrade Guide for 7-Mode
About this task
Setting changes for automatic logout of idle RLM SSH connections take effect only on SSH sessions that start after the changes.
Automatic logout does not take effect if you access the RLM through the serial console.
- Enter the following command to enable SSH automatic logout for the RLM:
options rlm.autologout.enable on
Note: The default is on. Setting the option to off disables SSH automatic logout for the RLM, causing the rlm.autologout.timeout option to have no effect.
- Enter the following command to specify the number of minutes after which an idle SSH connection to the RLM is automatically disconnected:
options rlm.autologout.timeout minutes
The default is 60 minutes.
Example of configuring automatic logout of idle SSH connections to the RLM
The following example configures the RLM to automatically disconnect SSH sessions that are idle for 30 minutes or more:
system> options rlm.autologout.enable on
system> options rlm.autologout.timeout 30