Using SCP Print

  • 0

Introduction

 

Occasionally you will need to retrieve files that are located outside of a user's directory, or files accessible only via SSH.

 

Procedure

 

In the below examples, the root user is used.  Any cPanel user can be used for SCP, however, cPanel users can only access files that they have permission to. 

 

NOTE: Mac and Linux should already have SCP installed.  If you are running Windows, you will need an SSH client.  PuTTY is free software that is regularly used for this:  https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

 

To download a file using SCP on your computer, use the following command:

 

scp root@server-ip:/path/to/file /place/to/store/file

 

To download a folder using SCP:

 

scp -r root@server-ip:/path/to/folder /place/to/store/folder

Was this answer helpful?
Back

Send Message