configure ssh2 idletimeout

configure ssh2 idletimeout [none | minutes]

Description

This command configures idle-timeout for SSH/SFTP connections.

Syntax Description

none Idle timeout disabled.
minutes Timeout value in minutes. Range is 1 to 240.

Default

60 minutes.

Usage Guidelines

If you enable the idle timer using the enable idletimeout command, the SSH2 connection times out after 20 minutes of inactivity by default. If you disable the idle timer using the disable idletimeout command, the SSH2 connection times out after 60 minutes of inactivity by default. This timeout value can be modified using the command “configure ssh2 idletimeout <minutes> wherein <minutes> can be from 1 to 240 ”. This ssh idle timer is applicable for SFTP connections as well.

Example

Configured ssh idle timeout is displayed in “show management” output:

# show management
CLI idle timeout                 : Enabled (2 minutes)
CLI max number of login attempts :        3
CLI max number of sessions       :        8
CLI paging                       : Enabled (this session only)
CLI space-completion             : Disabled (this session only)
CLI configuration logging        : Disabled
CLI journal size                 : 100
CLI password prompting only      : Disabled
CLI scripting                    : Disabled (this session only)
CLI scripting error mode         : Ignore-Error (this session only)
CLI persistent mode              : Persistent (this session only)
CLI prompting                    : Enabled (this session only)
CLI screen size                  : 32 Lines 112 Columns (this session only)
CLI refresh                      : Enabled
Telnet access                    : Enabled (tcp port 23 vr all)
                                 : Access Profile : not set
SSH access                       : Enabled (Key valid, tcp port 22 vr all)
                                 : Access Profile : not set
SSH2 idle timeout                : 20 minutes
Web access                       : Enabled (tcp port 80)            
                                 : Access Profile : not set
Total Read Only Communities      : 1
Total Read Write Communities     : 1
RMON                             : Disabled
SNMP access                      : Enabled
                                 : Access Profile : not set
SNMP Notifications               : Enabled
SNMP Notification Receivers  : None
SNMP stats:     InPkts 0       OutPkts   0       Errors 0       AuthErrors 0
                Gets   0       GetNexts  0       Sets   0       Drops      0
SNMP traps:     Sent   0       AuthTraps Enabled
SNMP inform:    Sent   0       Retries   0       Failed 0  

History

This command was first available in ExtremeXOS 16.1.

Platform Availability

This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.