DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
729
Example
To show user information about SSH configuration:
DGS-3000-26TC:admin#show ssh user authmode
Command: show ssh user authmode
Current Accounts:
User Name Authentication Host Name Host IP
--------------- --------- -------------------------------- ---------------
User1 Password
User2 Public Key
User3 Host-based domain.com 10.70.89.111
User4 Password
Total Entries : 4
DGS-3000-26TC:admin#
config ssh server
74-7
Description
This command is used to configure the SSH server general information.
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>}
Parameters
maxsession
- (Optional) Specify SSH server maximum session at the same time, maximum 8
sessions.
<int 1-8>
- Enter the maximum session value here. This value must be between 1 and 8.
contimeout
- (Optional) Specify SSH server connection time-out, in the unit of second.
<sec 120-600>
- Enter the connection time-out value here. This value must be between 120
and 600 seconds.
authfail
- (Optional) Specify user maximum fail attempts.
<int 2-20>
- Enter the user maximum fail attempts value here. This value must be between 2
and 20.
rekey
- (Optional) Specify time to re-generate session key. There are 10 minutes, 30 minutes, 60
minutes and never for the selection, which the never means do NOT re- generate session key
10min
- Specify that the re-generate session key time will be 10 minutes.
30min
- Specify that the re-generate session key time will be 30 minutes.
60min
- Specify that the re-generate session key time will be 60 minutes.
never
- Specify that the re-generate session key time will be set to never.
port
- (Optional) Specify the TCP port used to communication between SSH client and server.
The default value is 22.
<tcp_port_number 1-65535>
- Enter the TCP port number here. This value must be between
1 and 65535.
Restrictions
Only Administrators, Operators and Power-Users can issue this command.
Содержание DGS-3000 series
Страница 1: ......