Users Guide

Table Of Contents
Security Commands 1223
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
User Guidelines
Public key authentication allows administrators with an SSH client access to
the switch without requiring a password. Use the crypto key pubkey-chain ssh
user-key command to configure the administrators public key for use by the
SSH server. AAA authentication is independent from this configuration.
Example
The following example enables public key authentication for incoming SSH
sessions.
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 using SSH. To disable this function, use the no form
of this command.
Syntax
ip ssh server
no ip ssh server