Access Security Guide K/KA/KB.15.15

If no username is specified, the client's current username is used. There will be
a prompt for a password if needed.
hostname
Specifies the hostname of the TFTP server.
IPv4
Specifies the TFTP server's IPv4 address.
IPv6
Specifies the TFTP server's IPv6 address.
<filename>
The remote filename containing the key.
Copying the Host public key
The following copy commands can be used to manage public keys in a known hosts file. The
public key can only be coped from the switch to a server or other media, not to another switch.
Syntax:
copy ssh-client-known-hosts sftp [ user <username |
username@> ] <hostname | IPv4 | IPv6> filename
copy tftp ssh-client-known-hosts <hostname | IPv4 | IPv6>
filename
copy ssh-client-known-hosts <filename> usb
copy ssh-client-known-hosts xmodem
Copies the switch SSH server public key to a server or other media.
[ user <username | username@> ]
If no username is specified, the client's current username is used. There will be
a prompt for a password if needed.
hostname
Specifies the hostname of the TFTP server.
IPv4
Specifies the TFTP server's IPv4 address.
IPv6
Specifies the TFTP server's IPv6 address.
<filename>
The name of the file to be copied.
Removing the SSH client key pair
To remove the SSH client key pair file, use this command.
Syntax:
crypto key zeroize ssh-client-key
Deletes the SSH client key pair.
You are prompted for confirmation with the message:
Warning: The manager key pair will be deleted, continue [y/n] ?
Removing the SSH client known hosts file
To remove the SSH client known hosts file, use this command.
Using 253