Telnet and SSH Commands
ip ssh server
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
468
38
Example
Example 1—The following example generates DSA key pair:
switchxxxxxx(config)#
crypto key generate dsa
Replace Existing Key ? (Y/N)[N]Y
Generating a SSHv2 default DSA Key.
This may take a few minutes, depending on the key size.
Example 2—The following example generates RSA key pair:
switchxxxxxx(config)#
crypto key generate rsa
Replace Existing Key ? (Y/N)[N]Y
Generating a SSHv2 default RSA Key.
This may take a few minutes, depending on the key size.
ip ssh server
To enable the Secure Shell (SSH) service on the switch, use the ip ssh server
Global Configuration mode command.
To disable the SSH service on the switch, use the no form of this command.
Syntax
ip ssh server
no ip ssh server
Parameters
N/A
Default Configuration
SSH is disabled by default.
Command Mode
Global Configuration mode