D-Link DGS-3100 Switch User Manual


 
DGS-3100 Series Gigabit Stackable Managed Switch CLI Manual
17
1
disable ssh
Purpose To disable SSH.
Syntax
disable ssh
Description The disable ssh command disables SSH on the Switch.
Parameters None.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To disable SSH:
DGS3100# disable ssh
Success.
DGS3100#
config ssh authmode
Purpose To configure the SSH authentication mode setting.
Syntax
config ssh authmode publickey [enable | disable]
Description The config ssh authmode command configures the SSH
authentication mode for users attempting to access the Switch.
Parameters publickey [enable | disable] – Specifies that a publickey configuration
set on a SSH server is to be used for authentication.
Enables or disables SSH authentication on the Switch.
Restrictions Only administrator or operator-level users can issue this command.
Example usage:
To enable the SSH authentication mode:
DGS3100# config ssh authmode publickey enable
Success.
DGS3100#
show ssh authmode
Purpose To display the SSH authentication mode setting.
Syntax
show ssh authmode
Description The show ssh authmode command displays the current SSH
authentication set on the Switch.
Parameters None.
Restrictions None.