Example
The following example enters the SSH Public Key-chain configuration mode.
Console(config)# crypto key pubkey-chain ssh
Console(config-pubkey-chain)#
5.22.7 user-key
The user-key SSH public key chain configuration command specifies which SSH public key is manually
configured and enters the SSH public key-string configuration command. To remove a SSH public key,
use the no form of this command.
Syntax
user-key username {rsa | dsa}
no user-key username
username — Specifies the remote SSH client username, which can be up to 48 characters long.
rsa — RSA key.
dsa — DSA key.
Default Configuration
By default, there are no keys.
Command Mode
SSH Public Key Chain Configuration mode
User Guidelines
Follow this command with the key-string command to specify the key.
Example
The following example enables a SSH public key to be manually configured for the SSH public key chain
called "bob".
Console(config-pubkey-chain)# user-key bob
Console(config-pubkey-key)# key-string rsa
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl