Quick Reference Guide

SSH Commands 381
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".
key-string
The key-string SSH Public Key-String Configuration mode command manually specifies a SSH public
key.
Syntax
key-string row
key-string
row —
Specify SSH public key row by row
key-string —
UU-encoded DER format is the same format in authorized_keys file used by
OpenSSH.
Default Configuration
By default, the keys do not exist.
Console(config-pubkey-chain)# user-key bob rsa
Console(config-pubkey-key)# key-string row key-string
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl
5400_CLI.book Page 381 Wednesday, December 17, 2008 4:33 PM