Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

How Do I Use SCP With the NetScreen?



Article ID: KB4278 KB Last Updated: 03 Dec 2009Version: 4.0
This article explains how to use SCP with the NetScreen.

This article applies to ScreenOS 5.0.0 and above.

Secure Copy Protocol (SCP) is a mechanism that allows you to copy files securely from one host to another. Only files located on the NetScreen itself may be copied to a client. To obtain a list of files stored on the NetScreen, either console, telnet, or SSH to the NetScreen and issue the command get file.

Minimum requirements: SSH v2 must be enabled for SCP to work. SSH v2 must also be enabled on the interface to which you are connecting.

To use SCP with the NetScreen, perform the following steps:

Open the Command Line Interface (CLI). For information on how to open the CLI, go to Accessing the Command Line Interface Using Telnet.

From the CLI, enter get file. Press ENTER.

Image of step two

The Command Prompt will now look similar to the image below.

Image of note

From the CLI, enter set scp enable and press ENTER. Enter get scp, and then press ENTER.

Image of step three

SCP is now ready.

Image of note

You can also use the SCP that comes with Linux, BSD, Solaris, or other UNIX variants. To copy the license file to the SCP client, enter the following:


$ scp user@ license.txt
user@'s password:
license.key 100% 1115 0.0KB/s


user is the administrator's username of the NetScreen at IP address The SCP will copy the file from the NetScreen to a local file called license.txt.

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search