
SSH Commands
Page 294
user-key
The user-key SSH Public Key-string Configuration mode command specifies which SSH public key is manually
configured. Use the no form of this command to remove an SSH public key.
Syntax
user-key username {rsa | dsa}
no user-key username
Parameters
•
username — Specifies the username of the remote SSH client. (Range: 1-48 characters)
• rsa — Indicates the RSA key pair.
• dsa — Indicates the DSA key pair.
Default Configuration
No SSH public keys exist.
Command Mode
SSH Public Key-string Configuration mode
User Guidelines
Follow this command with the key-string SSH Public Key-String Configuration mode command to specify the key.
Example
The following example enables manually configuring an SSH public key for SSH public key-chain bob.
key-string
The key-string SSH Public Key-string Configuration mode command manually specifies an SSH public key.
Syntax
key-string
key-string row key-string
Parameters
•
row — Indicates the SSH public key row by row.
• key-string—Specifies the key in UU-encoded DER format; UU-encoded DER format is the same format in the
authorized_keys file used by OpenSSH.
console(config)#
crypto key pubkey-chain ssh
console(config-pubkey-chain)#
user-key
bob
rsa
console(config-pubkey-key)#
key-string
row
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl
Comentários a estes Manuais