xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
283
D G S – 3 4 2 6 : 5 # e n a b l e s s h
C o m m a n d : e n a b l e s s h
T E L N E T w i l l b e d i s a b l e d w h e n e n a b l e S S H .
S u c c e s s .
D G S – 3 4 2 6 : 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:
D G S – 3 4 2 6 : 5 # d i s a b l e s s h
C o m m a n d : d i s a b l e s s h
S u c c e s s .
D G S – 3 4 2 6 : 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: