![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/c/f9/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4/cf9abe3c-cbdc-4cee-9477-3b670eb02cf4-bg26a.png)
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
614
DGS-3627:admin# show ssh user authmode
Command: show ssh user authmode
Current Accounts
Username Authenticaiton
------------- -------------
test publickey
Total Entries : 1
config ssh server
Purpose Used to configure the SSH server.
Syntax
config ssh server {maxsession <int 1-8>| contimeout <sec 120-600> | authfail {<int 2-
20> | rekey [10min | 30min | 60min | never] | port < tcp_port_number 1-65535>}
Description The config ssh server command config the SSH server general information.
Parameters
maxsession - Specifies ssh server max session at the same time.
contimeout - Specifies ssh server connection timeout.
authfail - Specifies user max fail attempts.
10/30/60 min - Specifies time to re-generate session key.
never - Do not re-generate session key.
port - Specifies the TCP port used to communication between ssh client and server. The
default value is 22.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To config ssh server maxsession is 3:
DGS-3627:admin# config ssh server maxsession 3
Command: config ssh server maxsession 3
Success.
enable ssh
Purpose Used to enable the SSH server.
Syntax
enable ssh
Description The enable ssh command enables ssh server services. When enabling ssh, telnet will be
disabled.
Parameters None.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the SSH server: