335
[Sysname] ssh server compatible-ssh1x enable
Related commands
display
ssh
server
ssh server enable
Use
ssh server enable
to enable the SSH server function so that the SSH clients use SSH to
communicate with the server.
Use
undo ssh server enable
to disable the SSH server function.
Syntax
ssh server enable
undo ssh server enable
Default
The SSH server function is disabled.
Views
System view
Default command level
3: Manage level
Examples
# Enable the SSH server function.
<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.
Use
undo ssh server rekey-interval
to restore the default.
Syntax
ssh server rekey-interval
hours
undo ssh server rekey-interval
Default
The update interval of the RSA server key is 0. The system does not update the RSA server key
pairs.
Views
System view
Default command level
3: Manage level
Parameters
hours:
Specifies an interval for updating the server key pair in hours, in the range of 1 to 24.