DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
603
Format
config ssh server {maxsession <int 1-8> | contimeout <sec 120-600> | authfail <int 2-20> |
rekey [10min | 30min | 60min | never] | port <tcp_port_number 1-65535>}(1)
Parameters
maxsession
- Specifies the SSH server maximum session at the same time.
<int 1-8>
- Specifies the SSH server maximum session at the same time. The maximum
session value must be between 1 and 8.
contimeout
- Specifies the SSH server connection timeout.
<sec 120-600>
- Specifies the SSH server connection timeout. The connection timeout value
must be between 120 and 600 seconds. The default value is 120 seconds.
authfail
- Specifies the user maximum fail attempts.
<int 2-20>
- Specifies the user maximum fail attempts. The maximum authentication fail
attempts must be between 2 and 20. The default value is 2.
rekey
- (Optional) Specifies the time to re-generate the session key.
10min
- Specifies 10 minutes to re-generate the session key.
30min
- Specifies 30 minutes to re-generate the session key.
60min
- Specifies 60 minutes to re-generate the session key.
never
- Do not re-generate the session key.
port
- Specifies a TCP port number between 1 and 65535.
<tcp_port_number 1-65535>
- Specifies a TCP port number between 1 and 65535.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure an SSH server maximum session of 3:
DGS-3710-12C:admin#config ssh server maxsession 3
Command: config ssh server maxsession 3
Success.
DGS-3710-12C:admin#
60-8
enable ssh
Description
This command is used to enable SSH server services.
Format
enable ssh
Parameters
None.