xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
DGS-3400:4#enable ssh
TELNET will be disabled when enable SSH.
DGS-3400:4#
Command: enable ssh
Success.
disable ssh
Purpose Used to disable SSH.
Syntax
disable ssh
Description This command allows you to disable SSH on the Switch.
Parameters None.
Restrictions Only administrator-level users can issue this command.
Usage example:
To disable SSH:
DGS-3400:4# disable ssh
Command: disable ssh
Success.
DGS-3400:4#
config ssh authmode
Purpose Used to configure the SSH authentication mode setting.
Syntax
config ssh authmode [password | publickey | hostbased]
[enable | disable]
Description This command will allow you 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 if the administrator
wishes to use a publickey configuration set on a SSH server, for
authentication.
hostbased - This parameter may be chosen if the administrator
wishes 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 you to enable or disable SSH
authentication on the Switch.
Restrictions Only administrator-level users can issue this command.
Example usage:
To enable the SSH authentication mode by password:
213