Telnet, Secure Shell (SSH) and Secure Login (Slogin) Commands
OL-32830-01 Command Line Interface Reference Guide
52.2 ip ssh server
The ip ssh server Global Configuration mode command enables the device to be
an SSH server and so to accept connection requests from remote SSH clients.
Remote SSH clients can manage the device through the SSH connection.
Use the no form of this command to disable the SSH server functionality from the
device.
Syntax
ip ssh server
no ip ssh server
Default Configuration
The SSH server functionality is disabled by default.
Command Mode
Global Configuration mode
User Guidelines
The device, as an SSH server, generates the encryption keys automatically.
To generate new SSH server keys, use the crypto key generate dsa and crypto
key generate rsa commands.
Example
The following example enables configuring the device to be an SSH server.
switchxxxxxx(config)#
52.3 ip ssh port
The ip ssh port Global Configuration mode command specifies the TCP port used
by the SSH server. Use the no form of this command to restore the default
configuration.
Syntax
port-number
ip ssh port
ip ssh server
52
1006