DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
579
DWS-3160-24PC:admin#show ssh user authmode
Command: show ssh user authmode
Current Accounts:
User Name Authentication Host Name Host IP
--------------- --------- -------------------------------- ---------------
admin Password
oper Host-based localhost 10.90.90.200
power Host-based localhost
superuser Public Key
user Password
Total Entries : 5
DWS-3160-24PC:admin#
62-7
config ssh server
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) Specifies 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) Specifies 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) Specifies 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) Specifies time to re-generate session key. There are 10 minutes, 30 minutes,
60 minutes and never for the selection, which means do NOT re- generate session key
10min
- Specifies that the re-generate session key time will be 10 minutes.
30min
- Specifies that the re-generate session key time will be 30 minutes.
60min
- Specifies that the re-generate session key time will be 60 minutes.
never
- Specifies that the re-generate session key time will be set to never.
port
- (Optional) Specifies 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.