VideosMy ProjectsProgramming BlogGallery
  1. Home
  2. Blog
  3. How to copy files over ssh
Programming Blog

Atom/RSS Feed

ssh

How to copy files over ssh

ssh

You can copy files over ssh using the command scp.

scp

What is SCP

SCP stands for Secure Copy Program

scp -rp source destination
  • -r recursive
  • -p preservice modification time, access time and modes

Example Usage

scp -rp username@server:/usr/bin/ $PWD

Will copy files from username@server:/usr/bin/ to the current directory

Join my mailing list