DGS-3000 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
728
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 - Specify the authentication method.
hostbased - Specify user authentication method.
hostname - Specify host domain name.
<domain_name 32> - Enter the domain name here. This name can be up to 32
characters long.
hostname_IP - Specify host domain name and IP address.
<domain_name 32> - Enter host name if configuring Host-based method.
<ipaddr> - Enter host IP address if configuring Host-based method.
<ipv6addr> - Enter host IPv6 address if configuring Host-based method.
password - Specify user authentication method.
publickey - Specify 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.
show ssh user authmode 74-6
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.