Articles
ssh
How to copy files over sshssh

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