R2511-HP MSR Router Series Security Command Reference(V5)
420
Views
System view
Default command level
3: Manage level
Examples
# Enable SSH server.
<Sysname> system-view
[Sysname] ssh server enable
Related commands
display ssh server
ssh server rekey-interval
Use ssh server rekey-interval to set the interval for updating the RSA server key pair.
Use undo ssh server rekey-interval to restore the default.
Syntax
ssh server rekey-interval hours
undo ssh server rekey-interval
Default
The interval for updating the RSA server key pair is 0. The system does not update the RSA server key
pair.
Views
System view
Default command level
3: Manage level
Parameters
hours: Specifies an interval for updating the server key pair, in the range of 1 to 24 hours.
Usage guidelines
This command is only available for SSH clients that use SSH1 client software.
Updating the RSA server key pair periodically can prevent malicious hacking of the key and enhance
security of the SSH connections.
The system does not update any DSA key pair periodically.
Examples
# Set the RSA server key pair update interval to 3 hours.
<Sysname> system-view
[Sysname] ssh server rekey-interval 3
Related commands
display ssh server










