F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Command Reference-6PW100
200
Default
The update interval of the RSA server key is 0. That is, the system does not update the RSA server key
pairs.
Views
System view
Default command level
3: Manage level
Parameters
hours: Server key update interval in hours, in the range of 1 to 24.
Usage guidelines
Updating the RSA server key 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
ssh user
Use ssh user to create an SSH user and specify the service type and authentication method.
Use undo ssh user to delete an SSH user.
Syntax
ssh user username service-type stelnet authentication-type { password | { any | password-publickey |
publickey } assign { pki-domain pkiname | publickey keyname }}
ssh user username service-type { all | scp | sftp } authentication-type { password | { any |
password-publickey | publickey } assign { pki-domain pkiname | publickey keyname } work-directory
directory-name }
undo ssh user username
Views
System view
Default command level
3: Manage level
Parameters
username: SSH username, a case-sensitive string of 1 to 80 characters.
service-type: Specifies the service type of an SSH user, which can be one of the following:
• all: Specifies Stelnet, SFTP, and SCP.
• scp: Specifies the service type as SCP.