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

Atom/RSS Feed


How to copy files over ssh


You can copy files over ssh using the command 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