configure ssh2 rekey

configure ssh2 rekey [time-interval [time_interval |none] |data-limit [data_size |default]]


Sets SSHv2 session rekeying interval by specifying a time interval value and/or amount of transferred data.

Syntax Description

ssh2 Specifies setting SSHv2 behavior.
rekey Specifies rekey request interval for SSH connection.
time-interval Sets rekey time interval.
time_interval Specifies rekey time interval value in minutes. Valid range 1 to 1,440.
none Specifies no time limit for rekey interval (default).
data-limit Specifies rekey interval in terms of amount of data transferred.
data_size Sets data transfer limit in MB. Valid range is 1 to 4,096 MB.
default Sets the data limit to the default specified by the cipher. Values range between 1GB and 4GB. This is the default setting.


If nothing is specified, the rekey time interval is set to none, and the data limit is specified by the cipher in use.

Usage Guidelines

You can set both a time limit and a data limit for the rekey interval. Your selections for rekeying appear in the output of the show ssh2 command.


The following example sets the SSHv2 rekey time interval to one hour (60 mins):

configure ssh2 rekey time-interval 60


This command was first available in ExtremeXOS 22.3.

Platform Availability

This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.