D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 98
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-num TCP port number.