Replacing or clearing the public key file – HP 4100GL User Manual
Page 109
Configuring Secure Shell (SSH)
Further Information on SSH Client Public-Key Authentication
N o t e o n P u b l i c
The actual content of a public key entry in a public key file is determined by
K e ys
the SSH client application generating the key. (Although you can manually add
or edit any comments the client application adds to the end of the key, such
as the
smith@fellow at the end of the key in figure 4-15 on page 4-23.)
Syntax: copy tftp pub-key-file <ip-address> <filename>
Copies a public key file from a TFTP server into flash
memory in the switch.
show crypto client-public-key [ babble | fingerprint ]
Displays the client public key(s) in the switch’s current
client-public-key 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 phonetic
hashes that are for the same purpose.
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:
Key Index
Number
Figure 4-16. 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.
4-25