D-Link xStackTM DGS/DXS-3300 Series Switch User Manual


 
xStack DGS/DXS-3300 Series Layer 3 Stackable Gigabit Ethernet Switch CLI Manual
179
config ssh server
Purpose Used to configure the SSH server.
Syntax
config ssh server {maxsession <int 1-3> | contimeout <sec 120-
600> | authfail <int 2-20> | rekey [10min | 30min | 60min | never]}
Description This command will configure the SSH server.
Parameters maxsession <int 1-3> - Allows the user to set the number of users
that may simultaneously access the Switch. The default is 3.
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 user 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:
DGS-3324SRi:4# config ssh server maxsession 2 contimeout 300 authfail 2
Command: config ssh server maxsession 2 contimeout 300 authfail 2
Success.
DGS-3324SRi:4#
show ssh server
Purpose Used to display the SSH server setting.
Syntax
show ssh server
Description This command will display the current SSH server setting.
Parameters None.
Restrictions None.
Usage Example:
To display the SSH server: