1260 SSH Commands

user-key

Use the user-key command in SSH Public Key Chain Configuration mode to
specify which SSH public key you are configuring manually. 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. (Range: 1–48
characters)
rsa
— RSA key
dsa
— DSA key
Default Configuration
By default, there are no keys.
Command Mode
SSH Public Key Chain Configuration mode
User Guidelines
This command has no user guidelines.
Example
The following example enables a SSH public key to be manually configured
for the SSH public key chain called "bob."
console(config)#crypto key pubkey-chain ssh
console(config-pubkey-chain)#user-key bob rsa
console(config-pubkey-key)#