Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

scp

 

Syntax

Release Information

Statement introduced in Junos OS Release 15.1X49-D110 for SRX300, SRX320, SRX340, and SRX345 devices.

Statement introduced in Junos OS Release 18.4R1 for MX240, MX480, MX960, MX2010, MX2020, and vMX routers.

Options source-address and routing-instance added in Junos OS Release 18.4R1.

Description

Initiates a secure copy (scp) connection from the Junos CLI shell.

Options

  • recursive—Copy files recursively.

  • source-path— (Mandatory) Specify the source file location.

  • destination-path—(Mandatory) Specify the destination file location.

  • source-address—(Optional) Specify the local address to use in originating the secure copy connection.

  • routing-instance—(Optional) Specify the name of the routing instance for the secure copy session. Default is inet.0.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Related Documentation