copy scp authorized-keys

Last Updated : Nov 20, 2024 |

This command uses SCP to download a file containing a user’s public keys used for SSH public key authentication.

Syntax

copy scp authorized-keys <username> <filename> <ip>

Parameter

Parameter

Description

Possible Values

Default Value

username

Branch Gateway local username created with username command

filename

Filename with path to the file.

ip

The IPv4 or IPv6 address of the target host server

User level

admin

Context

general

Example

copy scp authorized-keys root keys/root/authorized_keys 192.168.1.10