xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
510
config ssh server
| 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-3450:admin# config ssh server maxsession 3
Command: config ssh server maxsession 3
Success.
DGS-3450:admin#
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:
DGS-3450:admin# enable ssh
Command: enable ssh
Success.
DGS-3450:admin#
disable ssh
Purpose
Used to disable the SSH server service.
Syntax
disable ssh
Description
The disable ssh command disables ssh server services.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.