User Manual

xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
772
Restrictions
None.
Example
To display the SSH user authentication method:
DGS-3420-28SC:admin#show ssh authmode
Command: show ssh authmode
The SSH Authentication Method:
Password : Enabled
Public Key : Enabled
Host-based : Enabled
DGS-3420-28SC:admin#
80-5 config ssh user
Description
This command is used to update SSH user information.
Format
config ssh user <username 15> authmode [hostbased [hostname <domain_name 32> |
hostname_IP <domain_name 32> [<ipaddr> | <ipv6addr>]] | password | publickey]
Parameters
<username 15> - Specify the user name.
authmode - Specify the authentication mode.
hostbased - Specify the user authentication method.
hostname - Specify the host domain name.
<domain_name 32> - Specify the host domain name. The hostname value can be up to
32 characters long.
hostname_IP - Specify the host domain name and IP address.
<domain_name 32> - Specify the host domain name. The hostname value can be up to
32 characters long.
<ipaddr> - Specify the host IPv4 address.
<ipv6addr> - Specifies the host IPv6 address.
password - Specify the user authentication method.
publickey - Specify the user authentication method.
Restrictions
Only Administrator-level users can issue this command.
Note: The user account must be created first.
Example
To update user “danilo” in authentication mode: