xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
509
config ssh user
Parameters
username
- Specifies the User name.
publickey
- Specifies user authentication method.
password
- Specifies user authentication method.
hostbased
- Specifies user authentication method.
hostname
- Specifies host domain name.
hostname_ip
- Specifies host domain name and ipaddress.
domain_name
- Specifies host name if configuration hostbased mode.
<ipaddr>
- Specifies host ip address if configuring hostbased mode.
<ipv6addr>
- Specifies the host IPv6 address if configuring host-based mode.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To update user “test” authmode:
DGS-3450:admin# config ssh user test publickey
Command: config ssh user test publickey
Success.
DGS-3450:admin#
show ssh user authmode
Purpose
Used to show ssh user information.
Syntax
show ssh user authmode
Description
The show ssh user command show the ssh user information.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To show user information about ssh configuration:
DGS-3450:admin# show ssh user authmode
Command: show ssh user authmode
Current Accounts
Username Authenticaiton
------------- -------------
test publickey
Total Entries : 1
DGS-3450:admin#
config ssh server
Purpose
Used to configure the SSH server.
Syntax
config ssh server {maxsession <int 1-8> | contimeout <sec 30-600> | authfail<int 2-20>