6-26
Configuring Secure Shell (SSH)
Further Information on SSH Client Public-Key Authentication
For example, if you wanted 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:
Figure 6-14. Example of Copying and Displaying a Client Public-Key File Containing Two Client Public Keys
Replacing or Clearing the Public Key File. The client public-key file
remains in the switch’s flash memory even if you erase the startup-config file,
reset the switch, or reboot the switch.
â– You can remove the existing client public-key file or specific keys by
executing the clear crypto public-key command.
Syntax: clear crypto client-public-key
Deletes the client-public-key file from the switch.
Syntax: clear crypto client-public-key 3
Deletes the entry with an index of 3 from the
client-public-key file on the switch.
The keylist-str option allows you to select keys to display
(a comma-delimited list).
The babble option converts the key data to phonetic
hashes that are easier for visual comparisons.
The fingerprint option converts the key data to hexadec-
imal hashes that are for the same purpose.