Administrator Guide

Security Commands 1080
Command Mode
Global Configuration mode
User Guidelines
The SSH TCP port should not be set to a value that might conflict with other
well-known protocol port numbers used on this switch. The following non-
exhaustive list of ports are reserved to the system and may not be able to be
configured for another purpose: 23 (telnet), 80 (HTTP), 161,162 (SNMP),
514, (SYSLOG), 546,547 (DHCPv6), 2222 (SSH).
Example
The following example specifies the port to be used by the SSH server as
8080.
console(config)#ip ssh port 8080
ip ssh pubkey-auth
Use the ip ssh pubkey-auth command in Global Configuration mode to
enable public key authentication for incoming SSH sessions. To disable this
function, use the no form of this command.
Syntax
ip ssh pubkey-auth
no ip ssh pubkey-auth
Default Configuration
The function is disabled.
Command Mode
Global Configuration mode
2CSNXXX_SWUM204.book Page 1080 Monday, January 25, 2016 1:25 PM