A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
284
DGS–3426:5#config ssh authmode password enable
Command: config ssh authmode password enable
Success.
DGS–3426:5#
show ssh authmode
Purpose Used to display the SSH authentication mode setting.
Syntax
show ssh authmode
Description This command is used to display the current SSH authentication set on the Switch.
Parameters None.
Restrictions None.
Example usage:
To view the current authentication mode set on the Switch:
DGS–3426:5#show ssh authmode
Command: show ssh authmode
The SSH authmode:
Password : Enabled
Publickey : Enabled
Hostbased : Enabled
DGS–3426:5#
config ssh server
Purpose Used to configure the SSH server.
Syntax
{maxsession <int 1-8>|contimeout <sec 120-600>|authfail<int 2-20>|rekey
[10min|30min|60min|never]|port <tcp_port_number 1-65535>} (1)
Description This command is used to configure parameters for the SSH server setting on the Switch.
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.
tcp_port_number 1-65535 – Specifies the tcp port number used to listen to the
connection request from the ssh client.
Restrictions Only Administrator and Operator-level users can issue this command.
Usage example:
To configure the SSH server: