Configure the SSH Rekey Time Interval

Use the following procedure to configure a time interval, after which the key exchange takes place.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enter the following command:

    ssh rekey time-interval <1–6>

Example

Configure the SSH rekey time-interval to 3 hours:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch:1(config)#ssh rekey time-interval 3

Variable Definitions

The following table defines parameters for the ssh rekey time-interval command.

Variable

Value

<1–6>

Specifies the time-interval for SSH rekeying in hours. The default is 1 hour.