set ip ssh server

Disables or reenables the SSH server on a switch.

Caution: If you disable the SSH server, SSH access to the switch is also disabled.

Syntax: set ip ssh server {enable disable}

enable Enables the SSH server.

disable Disables the SSH server.

Defaults: The SSH server is enabled by default.

Access: Enabled.

Usage: SSH requires an SSH authentication key.You can generate one or allow MSS to generate one. The first time an SSH client attempts to access the SSH server on a DWS-1008 switch, the switch automatically generates a 1024-byte SSH key.

If you want to use a 2048-byte key instead, use the crypto generate key ssh 2048 command to generate one.

The maximum number of SSH sessions supported on a DWS-1008 switch is eight. If Telnet is also enabled, the switch can have up to eight Telnet or SSH sessions, in any combination, and one Console session.

See Also:

crypto generate key

set ip ssh

set ip ssh server

set ip telnet

Changes the TCP port number on which a switch listens for Telnet management traffic.

Caution: If you change the Telnet port number from a Telnet session, MSS immediately ends the session. To open a new management session, you must Telnet to the switch with the new Telnet port number.

Syntax: set ip telnet port-num

port-numTCP port number.

D-Link DWS-1008 CLI Manual

98

Page 101
Image 101
D-Link dws-1008 Set ip ssh server, Set ip telnet, Syntax set ip ssh server enable disable, Syntax set ip telnet port-num