arrow_back Back to Notebook
ssh
ssh
January 10, 2019

How to copy files over 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

Thanks for reading!

John Wiseman

Full-Stack Software Engineer building scalable digital solutions. specializing in modern web technologies and mission-critical systems.

© 2026 Wiseman Systems Pty. Ltd.

Navigation

Start a Conversation

Ready to discuss your next project? Let's build something extraordinary together.

Get in Touch