Ssh Server Rekey-Interval - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Views
System view
Predefined user roles
network-admin
Parameters
port-number: Specifies a port number in the range of 1 to 65535.
Usage guidelines
If you modify the SSH port number when the SSH service is enabled, the SSH service is restarted
and all SSH connections are terminated after the modification. SSH users must reconnect to the
SSH server to access the server.
When the device acts as an SSH redirect server, modifying the SSH service port on the device
affects existing SSH redirect connections as follows:
If an SSH user accesses the destination device by specifying the SSH redirect listening port,
modifying the SSH service port does not affect the existing SSH redirect connection.
If an SSH user accesses the destination device by specifying the absolute number of the user
line, modifying the SSH service port terminates the SSH redirect connection. The SSH user
must reconnect to the SSH redirect server to access the destination device.
If you set the SSH port to a well-known port number, the service that uses the well-known port
number might fail to start. Well-known port numbers are in the range of 1 to 1024.
Examples
# Set the SSH service port to 1025.
<Sysname> system-view
[Sysname] ssh server port 1025

ssh server rekey-interval

Use ssh server rekey-interval to set the minimum interval for updating the RSA server key pair.
Use undo ssh server rekey-interval to restore the default.
Syntax
ssh server rekey-interval interval
undo ssh server rekey-interval
Default
The minimum interval for updating the RSA server key pair is 0 hours. The system does not update
the RSA server key pair.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Specifies the minimum interval for updating the RSA server key pair, in the range of 1 to 24
hours.
688

Advertisement

Table of Contents
loading

Table of Contents