xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
DGS-3612G:4#enable ssh
Command: enable ssh
Success.
DGS-3612G:4#
disable ssh
Purpose
Used to disable SSH.
Syntax
disable ssh
Description
This command allows users to disable SSH on the Switch.
Parameters None.
Restrictions Only
administrator-level users can issue this command.
Usage example:
To disable SSH:
DGS-3612G:4# disable ssh
Command: disable ssh
Success.
DGS-3612G: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 users 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 users 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:
296