DGS-3000 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
580
Format
config ssh user <username 15> authmode [hostbased [hostname <domain_name 32> |
hostname_IP <domain_name 32> [<ipaddr> | <ipv6addr>]] | password | publickey]
Parameters
<username 15> - Enter the user name. This name can be up to 15 characters long.
authmode - Specifies the authentication method.
hostbased - Specifies user authentication method.
hostname - Specifies host domain name.
<domain_name 32> - Enter the domain name here. This name can be up to 32
characters long.
hostname_IP - Specifies host domain name and IP address.
<domain_name 32> - Specifies host name if configuring Host-based method.
<ipaddr> - Specifies host IP address if configuring Host-based method.
<ipv6addr> - Specifies host IPv6 address if configuring Host-based method.
password - Specifies user authentication method.
publickey - Specifies user authentication method.
Restrictions
Only Administrators can issue this command.
Example
To update user “test” authentication method:
DGS-3000-26TC:admin#config ssh user test authmode publickey
Command: config ssh user test authmode publickey
Success.
65-6 show ssh user authmode
Description
This command is used to show the SSH user information.
Format
show ssh user authmode
Parameters
None.
Restrictions
Only Administrators can issue this command.