![D-Link xStack DGS-3612G series Cli Manual Download Page 413](http://html1.mh-extra.com/html/d-link/xstack-dgs-3612g-series/xstack-dgs-3612g-series_cli-manual_3519854413.webp)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
410
DGS-3627:5#enable ssh
Command: enable ssh
Success.
DGS-3627:5#
disable ssh
Purpose
Used to disable SSH.
Syntax
disable ssh
Description
This command allows users to disable SSH on the Switch. Enabling
SSH will disable the Telnet-manager on the Switch.
Parameters None.
Restrictions
Only Administrator and Operator-level users can issue this
command.
Example usage:
To disable SSH:
DGS-3627:5# disable ssh
Command: disable ssh
Success.
DGS-3627: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 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 and Operator-level users can issue this
command.
Example usage:
To enable the SSH authentication mode by password: