DGS-6604 ip ssh
CLI Reference Guide
321
ip ssh
Use this command to configure Secure Shell (SSH) control parameters or enable
the SSH service on the switch. Use the no ip ssh command to disable the SSH
service.
ip ssh [ timeout SECONDS | authentication-retries NUMBER | service-port TCP-PORT ]
no ip ssh
Default Initial SSH service: Disabled
timeout: 120 seconds.
Maximum authentication retries: 3
service port: 22
Command Mode Global configuration
Usage Guideline The command configures Secure Shell (SSH) server parameters on the switch.
The idle timer ("timeout" option) is refreshed when the SSH client sends the
message to the server. When the idle timer expires and the SSH server does not
receive any messages from the client, the session will be released.
The SSH server can be configured with extra authentication retries for setting up
an SSH session. The connection will be failed when the number of authentication
attempts equals the maximum number of authentication attempts (retries)
allowable.
Syntax Description
timeout SECONDS (Optional) The time interval that the switch waits for the SSH client to respond.
The range is 120-600. The SSH session will be closed when the session has
been idle for this timeout period.
authentication-
retries NUMBER
(Optional) The number of authentication attempts after which the session is reset
or authentication failed. The range is 2-20.
service-port
TCP-PORT
Optional) Specifies the service port, such as TCP port 22, to which Secure Shell
(SSH) needs to connect. TCP ports are numbered between 1 and 65535.