xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
DGS-3612G:4# config ssh server maxsession 2 contimeout 300 authfail 2
Command: config ssh server maxsession 2 contimeout 300 authfail 2
Success.
DGS-3612G:4#
show ssh server
Purpose
Used to display the SSH server setting.
Syntax
show ssh server
Description
This command allows users to display the current SSH server setting.
Parameters None.
Restrictions None.
Usage Example:
To display the SSH server:
DGS-3612G:4# show ssh server
Command: show ssh server
SSH Server Status : Disabled
SSH Max Session : 8
Connection timeout : 300
Authenticate failed attempts : 2
Rekey timeout : never
port : 22
DGS-3612G:4#
config ssh user
Purpose
Used to configure the SSH user.
Syntax
config ssh user <username> authmode [hostbased [hostname
<domain_name> | hostname_IP <domain_name> <ipaddr>] |
password | publickey]
Description
This command allows configuration of the SSH user authentication
method.
Parameters
<username>
- Enter a username of no more than 15 characters to
identify the SSH user.
authmode
– Specifies the authentication mode of the SSH user
wishing to log on to the Switch. The administrator may choose
between:
password
– This parameter should be chosen if the user wishes to
hostbased
– This parameter should be chosen if the user
wishes to use a remote SSH server for authentication
purposes. Choosing this parameter requires the user to
input the following information to identify the SSH user.
•
•
•
hostname <domain_name>
- Enter an alphanumeric string
of up to 32 characters identifying the remote SSH user.
hostname_IP <domain_name> <ipaddr>
- Enter the
hostname and the corresponding IP address of the SSH
user.
298