xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
283
DGS–3426:5#enable ssh
Command: enable ssh
TELNET will be disabled when enable SSH.
Success.
DGS–3426:5#
disable ssh
Purpose Used to disable SSH.
Syntax
disable ssh
Description This command is used to disable SSH on the Switch.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Usage example:
To disable SSH:
DGS–3426:5#disable ssh
Command: disable ssh
Success.
DGS–3426:5#
config ssh authmode
Purpose Used to configure the SSH authentication mode setting.
Syntax
config ssh authmode [password | publickey | hostbased] [enable | disable]
Description This command is used to configure the SSH authentication mode for users attempting to
access the Switch.
Parameters password – This parameter may be chosen if the administrator wishes to use a locally
configured password for authentication on the Switch.
publickey – This parameter may be chosen to use a publickey configuration set on a SSH
server, for authentication.
hostbased – This parameter may be chosen to use a host computer for authentication.
This parameter is intended for Linux users requiring SSH authentication techniques and
the host computer is running the Linux operating system with a SSH program previously
installed.
[enable | disable] – This allows users to enable or disable SSH authentication on the
Switch.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the SSH authentication mode by password: