DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
225
config ssh server
Parameters
maxsession <int 1-8>
−
Allows the user to set the number of users that may
simultaneously access the Switch. The default setting is 8.
contimeout <sec 120-600>
−
Allows the user to set the connection timeout. The user may
set a time between 120 and 600 seconds. The default is 120 seconds.
authfail <int 2-20>
−
Allows the administrator to set the maximum number of attempts that
a user may try to logon utilizing SSH authentication. After the maximum number of
attempts is exceeded, the Switch will be disconnected and the user must reconnect to the
Switch to attempt another login.
rekey [10min | 30min | 60min | never]
−
Sets the time period that the Switch will change
the security shell encryptions.
Restrictions
Only Administrator-level users can issue this command.
Usage example:
To configure the SSH server:
DES-1228/ME:4# config ssh server maxsession 2 contimeout 300 authfail 2
Command: config ssh server maxsession 2 contimeout 300 authfail 2
Success.
DES-1228/ME:4#
show ssh server
Purpose
Used to display the SSH server setting.
Syntax
show ssh server
Description
This command allows users to display the current SSH server setting.
Parameters
None.
Restrictions
None.
Usage example:
To display the SSH server:
DES-1228/ME:4# show ssh server
Command: show ssh server
The SSH server configuration
max Session : 8
Connection timeout : 300
Authfail attempts : 2
Rekey timeout : never
port : 22
DES-1228/ME:4#
config ssh user
Purpose
Used to configure the SSH user.
Syntax
config ssh user <username 15> authmode [hostbased [hostname <domain_name
32>] [hostname_IP <domain_name 32> <ipaddr>] | password | publickey]
Description
This command allows users to configure the SSH user authentication method.