copy scp ssh-pub-key-file

Downloads a copy of a client public key (DSA/RSA) to the ICX device
Syntax
copy scp ssh-pub-key-file { scp-hostname | ip-address [ remote-port ] | ipv6 { ipv6-hostname | ipv6-address } } { source-filename }
Parameters
scp-hostname
Specifies the hostname of the SCP host.
ip-address
Specifies the IPv4 address of the SCP host (in the form A.B.C.D).
ipv6 { ipv6-hostname | ipv6-address }
Specifies the IPv6 hostname or IPv6 address of the SCP host.
remote-port
Specifies the remote port number. Valid decimal value is 1 through 65535.
source-filename
Specifies the filename to be copied from the SCP host.
Modes

Privileged EXEC Mode

Examples

The following example imports the file named publicrsafile from the SCP server with the IP address 10.2.34.26.

device# copy scp ssh-pub-key-file 10.2.34.26 publicrsafile

The following example imports the RSA public key file named rsapublic from the IPv6 SCP server named vee6host1.

device# copy scp ssh-pub-key-file ipv6 vee6host1 rsapublic
History
Release version Command history
09.0.00 This command was introduced.