DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
601
Restrictions
None.
Example
To display the SSH user authentication method:
DGS-3710-12C:admin#show ssh authmode
Command: show ssh authmode
The SSH Authmode
-------------------------------------------------------
Password : Enabled
Publickey : Enabled
Hostbased : Enabled
DGS-3710-12C:admin#
60-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>
- Specifies the user name.
authmode
- Specifies 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
- Specifies the user authentication method.
publickey
- Specifies the user authentication method.
Restrictions
Only Administrator-level users can issue this command.
Note:
The user account must be created first.