Access Security Guide K/KA/KB.15.15

Syntax:
copy <tftp | sftp> pub-key-file <ip-address> <filename>
[ <append | manager | operator> ]
Copies a public-key file from a TFTP server into flash memory in the switch.
The append option adds the keys for operator access.
The manager option replaces the keys for manager access; follow with the 'append'
option to add the keys.
The operator option replaces the keys for operator access (default); follow with
the 'append' option to add the keys.
For switches that have a separate out-of-band management port, the oobm parameter
specifies that the traffic will go through the out-of-band management interface. If
this parameter is not specified, the traffic goes through the data interface. The oobm
parameter is not available on switches that do not have a separate out-of-band
management port. See, "Network Out-of-Band Management" in the Management
and Configuration Guide for more information on out-of-band management.
show crypto client-public-key [ <manager | operator> ] [
keylist-str ] [ babble | fingerprint ]
Displays the clientpublic keys in the switch current client public-key file.
See “SSH client public-key authentication” (page 29) for information about public
keys saved in a configuration file.
The babble option converts the key data to phonetic hashes that are easier for visual
comparisons.
The fingerprint option converts the key data to hexadecimal hashes that are for the
same purpose.
The keylist-str selects keys to display (comma-delimited list).
The manager option allows you to select manager public keys
The operator option allows you to select operator public keys.
NOTE: Beginning with software release K_12_XX or later, copy usb pub-key file can also
be used as a method for copying a public-key file to the switch.
Beginning with software version K_15_04 or later, SFTP can also be used as a method for copying
a public-key file to the switch.
Example
To copy a client public-key file named clientkeys.txt from a TFTP server at 10.38.252.195
and then display the file contents:
Using 249