Table of ContentsView in Frames

Configuring automatic logout of idle SSH connections to the SP

You can configure the automatic logout settings so that an SSH connection to the SP is automatically terminated after the connection has been idle for the number of minutes you specify.

About this task

Setting changes for automatic logout of idle SP SSH connections take effect only on SSH sessions that start after the changes.

Automatic logout does not take effect if you access the SP through the serial console.

Steps

  1. Enter the following command to enable SSH automatic logout for the SP:
    options sp.autologout.enable on

    Note: The default is on. Setting the option to off disables SSH automatic logout for the SP, causing the sp.autologout.timeout option to have no effect.

  2. Enter the following command to specify the number of minutes after which an idle SSH connection to the SP is automatically disconnected:
    options sp.autologout.timeout minutes

    The default is 60 minutes.

Example of configuring automatic logout of idle SSH connections to the SP

The following example configures the SP to automatically disconnect SSH sessions that are idle for 30 minutes or more:

system> options sp.autologout.enable on  
system> options sp.autologout.timeout 30