Reference Guide

SSH Commands 1665
console(config)#ip ssh pubkey-auth
ip ssh server
Use the ip ssh server command in Global Configuration mode to enable the
switch to be configured from SSH. To disable this function, use the no form
of this command.
Syntax
ip ssh server
no ip ssh server
Default Configuration
The SSH server is disabled by default.
Command Mode
Global Configuration mode
User Guidelines
To generate SSH server keys, use the commands crypto key generate rsa, and
crypto key generate dsa.
Example
The following example enables the switch to be configured using SSH.
console(config)#ip ssh server
key-string
Use the key-string SSH Public Key Configuration mode to specify an SSH
public key manually.
Syntax
key-string
key-string
key-string row
key-string
row
— To specify the SSH public key row by row.
2CSPC4.XModular-SWUM204.book Page 1665 Friday, March 15, 2013 9:24 AM