user-key
The user-key SSH Public Key-string Configuration mode command specifies which SSH public
key is manually configured. To remove an SSH public key, use the no form of this command.
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 Setting
No SSH public keys exist.
Command Mode
SSH Public Key-string Configuration mode
Command Usage
Follow this command with the key-string SSH Public Key-String Configuration mode command
to specify the key.
Example
The following commands enable manually configuring an SSH public key for SSH public
key-chain bob.
Console(config)# crypto key pubkey-chain ssh
console(config-pubkey-chain)# user-key bob rsa
console(config-pubkey-key)# key-string row
AAAAB3NzaC1yc2EAAAADAQABAAABAQCvTnRwPWl
HP PC Blade Switch CLI Reference Guide
www.hp.com
SSH Commands
23-7