avatarHK Blog
Tools/File transfer

SCP (Secure Copy)

Intro

scp (secure copy) lets you securely copy files to remote server.

It works similarly to cp command.

It's based on ssh.

Usage

Here are the the most basic usage.

scp file.txt [email protected]:Desktop/file.txt
 
scp -r folder [email protected]:Desktop/folder

For more options, read How to Use SCP Command to Securely Transfer Files.

Reference

How is this guide?

On this page