Users Guide

Security Commands 1190
key-string — The UU-encoded DER format is the same format as the
authorized keys file used by OpenSSH.
Default Configuration
By default, the key-string is empty.
Command Mode
SSH Public Key Configuration mode
User Guidelines
The key string is the public key of the specified type (RSA or DSA) generated
by the administrator. The administrator will need access to both the public
and private key on the host to log in without authenticating via password.
DSA is considered less secure than RSA. Use of RSA is recommended.
Use the key-string row command to enter the key-string one row at a time.
The row may be enclosed in quotes. This command may be used to enter the
key one line at a time should the key-string be greater than 234 characters in
length.
Use the key-string command without the row parameter to enter the entire
key at once if the key-string does not exceed 234 characters.
The switch accepts keys up to 2048 bits in length.
Command History
Modified in version 6.5 firmware.
Examples
The following example shows how to enter a single public key string for a user
called “bob.”
console(config)#crypto key pubkey-chain ssh user-key bob rsa
Key-string row AAAAB3NzaC1yc2EAAAABIwAAAQEAu7WHtjQDUygjSQXHVgyqdUby
Key-string row dxUXEAiDHXcWHVr0R/ak1HDQitBzeEv1vVEToEn5ddLmRhtIgRdKUJHgBHJV
Key-string row R2VaSN/WC0IK53j9re4B11AE+O3qAxwJs0KD7cTkvF9I+YdiXeOM8VE4skkw
Key-string row AiyLDNVWXgNQ6iat8+8Mjth+PIo5t3HykYUCkD8B1v93nzi/sr4hHHJCdx7w
Key-string row wRW3QtgXaGwYt2rdlr3x8ViAF6B7AKYd8xGVVjyJTD6TjrCRRwQHgB/BHsFr
Key-string row z/Rl1SYa0vFjel/7/0qaIDSHfHqWhajYkMa4xPOtIye7oqzAOm1b76l28uTB
Key-string row luBEoLQ+PKOKMiK8sQ==