14 ssh-server max-connection, 15 ssh-server timeout – PLANET XGS3-24040 User Manual
Page 63
XGS3 Command Guide
1-63
Usage Guide:
This command is used to generate the new host key. When SSH client logs on the server, the new host key is used
for authentication. After the new host key is generated and “write” command is used to save the configuration, the
system uses this key for authentication all the time. Because it takes quite a long time to compute the new key and
some clients are not compatible with the key generated by the modulus 2048, it is recommended to use the key
which is generated by the default modulus 1024.
Example:
Generate new host key.
Switch(config)#ssh-server host-key create rsa
1.2.14 ssh-server max-connection
Command:
ssh-server max-connection {
Function:
Configure the max connection number supported by the SSH service of the switch.
Parameters:
default option will restore the default configuration.
Default:
The system default value of the max connection number is 5.
Command Mode:
Global Mode
Usage Guide:
None.
Example:
Set the max connection number supported by the SSH service as 10.
Switch(config)#ssh-server max-connection 10
1.2.15 ssh-server timeout
Command:
ssh-server timeout
no ssh-server timeout
Function:
Configure timeout value for SSH authentication; the “no ssh-server timeout” command restores the default timeout
value for SSH authentication.
Parameter:
Command mode:
Global Mode
Default:
SSH authentication timeout is 180 seconds by default.
Example:
Set SSH authentication timeout to 240 seconds.