Access Security Guide K/KA/KB.15.15

below. If the file already exists at that location, you are prompted for confirmation before overwriting
the existing file:
Warning: The existing known hosts file will be overwritten, continue [y/n] ?
Syntax:
copy sftp ssh-client-known-hosts [ user <username |
username@> ] <hostname | IPv4 | IPv6> <filename> [append]
copy tftp ssh-client-known-hosts <hostname | IPv4 | IPv6>
<filename> [append]
copy usb ssh-client-known-hosts <filename> [append]
copy xmodem ssh-client-known-hosts [append]
Copies the SSH client known hosts file to the switch.
ssh-client-known-hosts
The known hosts file.
[ user <username | username@> ]
Optional, there must be configured usernames for operator and manager.
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 IPv4 address. IPv6
Specifies the TFTP server's IPv6 address.
<filename>
The remote filename containing the key.
[append]
Append hosts to the existing ssh-client-known-hosts file. Default: Replace
the existing known hosts file.
Copying the SSH client known hosts file to another location
The SSH client known hosts file can be copied to a location on a remote device using the commands
below. If the file already exists on the remote device, you are prompted for confirmation before
overwriting the file:
Warning: The remote file will be overwritten, continue y/n] ?
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 SSH client known hosts file to another location.
ssh-client-known-hosts
The known hosts file.
[ user <username | username@> ]
Optional; there must be configured usernames for operator and manager.
252 Secure Shell (SSH)